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_ansible.yml **************************************************** 1 plays in /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Saturday 21 September 2024 01:23:42 -0400 (0:00:00.024) 0:00:00.024 **** ok: [managed_node2] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 21 September 2024 01:23:43 -0400 (0:00:01.252) 0:00:01.277 **** included: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 21 September 2024 01:23:43 -0400 (0:00:00.085) 0:00:01.362 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 21 September 2024 01:23:43 -0400 (0:00:00.064) 0:00:01.427 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 21 September 2024 01:23:44 -0400 (0:00:00.744) 0:00:02.172 **** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 21 September 2024 01:23:44 -0400 (0:00:00.063) 0:00:02.235 **** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 21 September 2024 01:23:45 -0400 (0:00:00.336) 0:00:02.572 **** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 21 September 2024 01:23:45 -0400 (0:00:00.074) 0:00:02.646 **** ok: [managed_node2] => { "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-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 21 September 2024 01:23:46 -0400 (0:00:01.087) 0:00:03.734 **** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 21 September 2024 01:23:46 -0400 (0:00:00.053) 0:00:03.787 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 21 September 2024 01:23:46 -0400 (0:00:00.044) 0:00:03.832 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 21 September 2024 01:23:46 -0400 (0:00:00.040) 0:00:03.872 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 21 September 2024 01:23:46 -0400 (0:00:00.039) 0:00:03.912 **** skipping: [managed_node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 21 September 2024 01:23:46 -0400 (0:00:00.054) 0:00:03.966 **** ok: [managed_node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target ip6tables.service iptables.service ipset.service ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 21 September 2024 01:23:47 -0400 (0:00:00.744) 0:00:04.711 **** changed: [managed_node2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.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": "0", "ExecMainStartTimestampMonotonic": "0", "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=[n/a] ; stop_time=[n/a] ; pid=0 ; 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", "InactiveExitTimestampMonotonic": "0", "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": "0", "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": "dead", "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": "disabled", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.782) 0:00:05.494 **** ok: [managed_node2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.068) 0:00:05.563 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.059) 0:00:05.623 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.058) 0:00:05.681 **** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.061) 0:00:05.743 **** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.059) 0:00:05.802 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 21 September 2024 01:23:48 -0400 (0:00:00.054) 0:00:05.856 **** ok: [managed_node2] => { "changed": false, "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "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-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 21 September 2024 01:23:49 -0400 (0:00:00.683) 0:00:06.539 **** ok: [managed_node2] => { "ansible_facts": { "firewall_config": { "custom": { "zones": { "public": { "description": "For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.", "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masqerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "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-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 21 September 2024 01:23:49 -0400 (0:00:00.075) 0:00:06.615 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 21 September 2024 01:23:49 -0400 (0:00:00.059) 0:00:06.675 **** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 21 September 2024 01:23:49 -0400 (0:00:00.061) 0:00:06.737 **** skipping: [managed_node2] => {} TASK [Get default zone] ******************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Saturday 21 September 2024 01:23:49 -0400 (0:00:00.058) 0:00:06.795 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.266558", "end": "2024-09-21 01:23:50.027429", "rc": 0, "start": "2024-09-21 01:23:49.760871" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Saturday 21 September 2024 01:23:50 -0400 (0:00:00.723) 0:00:07.519 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.250318", "end": "2024-09-21 01:23:50.564437", "failed_when_result": false, "rc": 112, "start": "2024-09-21 01:23:50.314119" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Saturday 21 September 2024 01:23:50 -0400 (0:00:00.569) 0:00:08.088 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.266167", "end": "2024-09-21 01:23:51.152520", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:23:50.886353" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Saturday 21 September 2024 01:23:51 -0400 (0:00:00.600) 0:00:08.688 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.264530", "end": "2024-09-21 01:23:51.760227", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:23:51.495697" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Saturday 21 September 2024 01:23:51 -0400 (0:00:00.612) 0:00:09.301 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.275243", "end": "2024-09-21 01:23:52.412253", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:23:52.137010" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Saturday 21 September 2024 01:23:52 -0400 (0:00:00.624) 0:00:09.926 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.264571", "end": "2024-09-21 01:23:52.984040", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:23:52.719469" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Saturday 21 September 2024 01:23:53 -0400 (0:00:00.618) 0:00:10.545 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.263564", "end": "2024-09-21 01:23:53.647203", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:23:53.383639" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Saturday 21 September 2024 01:23:53 -0400 (0:00:00.642) 0:00:11.187 **** ok: [managed_node2] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.525036", "end": "2024-09-21 01:23:54.565280", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:23:54.040244" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Saturday 21 September 2024 01:23:54 -0400 (0:00:00.917) 0:00:12.104 **** changed: [managed_node2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.252949", "end": "2024-09-21 01:23:55.300240", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:23:55.047291" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Saturday 21 September 2024 01:23:55 -0400 (0:00:00.782) 0:00:12.887 **** changed: [managed_node2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.432467", "end": "2024-09-21 01:23:56.138754", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:23:55.706287" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80 Saturday 21 September 2024 01:23:56 -0400 (0:00:00.767) 0:00:13.655 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:88 Saturday 21 September 2024 01:23:57 -0400 (0:00:00.897) 0:00:14.553 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:96 Saturday 21 September 2024 01:23:57 -0400 (0:00:00.597) 0:00:15.150 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:104 Saturday 21 September 2024 01:23:58 -0400 (0:00:00.625) 0:00:15.775 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:112 Saturday 21 September 2024 01:23:59 -0400 (0:00:00.677) 0:00:16.452 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120 Saturday 21 September 2024 01:23:59 -0400 (0:00:00.632) 0:00:17.085 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:128 Saturday 21 September 2024 01:24:00 -0400 (0:00:00.794) 0:00:17.880 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp, again] *********** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:136 Saturday 21 September 2024 01:24:01 -0400 (0:00:00.695) 0:00:18.575 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:144 Saturday 21 September 2024 01:24:01 -0400 (0:00:00.556) 0:00:19.131 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:153 Saturday 21 September 2024 01:24:02 -0400 (0:00:00.600) 0:00:19.732 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:162 Saturday 21 September 2024 01:24:02 -0400 (0:00:00.665) 0:00:20.397 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service ftp with limitation using rich rule in permanent default zone, again] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:170 Saturday 21 September 2024 01:24:03 -0400 (0:00:00.579) 0:00:20.977 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:178 Saturday 21 September 2024 01:24:04 -0400 (0:00:00.543) 0:00:21.520 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:187 Saturday 21 September 2024 01:24:04 -0400 (0:00:00.530) 0:00:22.051 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone] *********************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:196 Saturday 21 September 2024 01:24:05 -0400 (0:00:00.549) 0:00:22.601 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow nm interface eth0 in permanent trusted zone, again] **************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:205 Saturday 21 September 2024 01:24:05 -0400 (0:00:00.584) 0:00:23.185 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone] ********************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:214 Saturday 21 September 2024 01:24:06 -0400 (0:00:00.810) 0:00:23.996 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Disable nm interface eth0 in permanent trusted zone, again] ************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:223 Saturday 21 September 2024 01:24:07 -0400 (0:00:00.795) 0:00:24.791 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:232 Saturday 21 September 2024 01:24:07 -0400 (0:00:00.639) 0:00:25.431 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:241 Saturday 21 September 2024 01:24:08 -0400 (0:00:00.659) 0:00:26.090 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:250 Saturday 21 September 2024 01:24:09 -0400 (0:00:00.596) 0:00:26.687 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:258 Saturday 21 September 2024 01:24:09 -0400 (0:00:00.557) 0:00:27.244 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:266 Saturday 21 September 2024 01:24:10 -0400 (0:00:00.638) 0:00:27.883 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:274 Saturday 21 September 2024 01:24:11 -0400 (0:00:00.668) 0:00:28.552 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:282 Saturday 21 September 2024 01:24:11 -0400 (0:00:00.643) 0:00:29.195 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:290 Saturday 21 September 2024 01:24:12 -0400 (0:00:00.821) 0:00:30.017 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:299 Saturday 21 September 2024 01:24:13 -0400 (0:00:00.585) 0:00:30.602 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:308 Saturday 21 September 2024 01:24:13 -0400 (0:00:00.575) 0:00:31.178 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Saturday 21 September 2024 01:24:14 -0400 (0:00:00.670) 0:00:31.848 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:326 Saturday 21 September 2024 01:24:15 -0400 (0:00:00.792) 0:00:32.641 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Saturday 21 September 2024 01:24:15 -0400 (0:00:00.665) 0:00:33.307 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:344 Saturday 21 September 2024 01:24:16 -0400 (0:00:00.864) 0:00:34.172 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:353 Saturday 21 September 2024 01:24:17 -0400 (0:00:00.571) 0:00:34.743 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Redirect port 443 to 8443 with Rich Rule in permanent and runtime public zone, again] *** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:363 Saturday 21 September 2024 01:24:17 -0400 (0:00:00.632) 0:00:35.375 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 Saturday 21 September 2024 01:24:18 -0400 (0:00:00.653) 0:00:36.028 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:381 Saturday 21 September 2024 01:24:19 -0400 (0:00:00.840) 0:00:36.869 **** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:386 Saturday 21 September 2024 01:24:19 -0400 (0:00:00.081) 0:00:36.951 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:396 Saturday 21 September 2024 01:24:20 -0400 (0:00:00.628) 0:00:37.580 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:406 Saturday 21 September 2024 01:24:20 -0400 (0:00:00.640) 0:00:38.221 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.249896", "end": "2024-09-21 01:24:21.499254", "rc": 0, "start": "2024-09-21 01:24:21.249358" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:410 Saturday 21 September 2024 01:24:21 -0400 (0:00:00.768) 0:00:38.989 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:417 Saturday 21 September 2024 01:24:22 -0400 (0:00:00.640) 0:00:39.630 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:424 Saturday 21 September 2024 01:24:22 -0400 (0:00:00.590) 0:00:40.220 **** ok: [managed_node2] => { "changed": false, "failed_when_result": false } MSG: can only add, modify, or remove one service at a time TASK [Add custom service without details] ************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Saturday 21 September 2024 01:24:23 -0400 (0:00:00.527) 0:00:40.748 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:442 Saturday 21 September 2024 01:24:24 -0400 (0:00:00.965) 0:00:41.714 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 Saturday 21 September 2024 01:24:24 -0400 (0:00:00.698) 0:00:42.412 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Saturday 21 September 2024 01:24:25 -0400 (0:00:00.933) 0:00:43.346 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Saturday 21 September 2024 01:24:26 -0400 (0:00:00.845) 0:00:44.191 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:477 Saturday 21 September 2024 01:24:27 -0400 (0:00:00.763) 0:00:44.954 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:486 Saturday 21 September 2024 01:24:28 -0400 (0:00:00.573) 0:00:45.528 **** ok: [managed_node2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Saturday 21 September 2024 01:24:28 -0400 (0:00:00.731) 0:00:46.260 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Saturday 21 September 2024 01:24:29 -0400 (0:00:00.959) 0:00:47.219 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove ports from custom service without deleting service] *************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Saturday 21 September 2024 01:24:30 -0400 (0:00:00.816) 0:00:48.036 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Saturday 21 September 2024 01:24:31 -0400 (0:00:00.830) 0:00:48.866 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:533 Saturday 21 September 2024 01:24:32 -0400 (0:00:00.877) 0:00:49.743 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:541 Saturday 21 September 2024 01:24:33 -0400 (0:00:00.826) 0:00:50.570 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add custom service with all the elements at once] ************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549 Saturday 21 September 2024 01:24:33 -0400 (0:00:00.599) 0:00:51.170 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add helper module that already is on customservice] ********************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:566 Saturday 21 September 2024 01:24:34 -0400 (0:00:00.883) 0:00:52.053 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:575 Saturday 21 September 2024 01:24:35 -0400 (0:00:00.669) 0:00:52.723 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:582 Saturday 21 September 2024 01:24:36 -0400 (0:00:00.719) 0:00:53.442 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:589 Saturday 21 September 2024 01:24:36 -0400 (0:00:00.637) 0:00:54.080 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:596 Saturday 21 September 2024 01:24:37 -0400 (0:00:00.633) 0:00:54.713 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:607 Saturday 21 September 2024 01:24:37 -0400 (0:00:00.695) 0:00:55.409 **** ok: [managed_node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:618 Saturday 21 September 2024 01:24:38 -0400 (0:00:00.665) 0:00:56.074 **** changed: [managed_node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:637 Saturday 21 September 2024 01:24:39 -0400 (0:00:00.567) 0:00:56.642 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.281580", "end": "2024-09-21 01:24:39.764532", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:39.482952" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:643 Saturday 21 September 2024 01:24:39 -0400 (0:00:00.647) 0:00:57.290 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.266610", "end": "2024-09-21 01:24:40.369550", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:40.102940" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:649 Saturday 21 September 2024 01:24:40 -0400 (0:00:00.597) 0:00:57.887 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.266581", "end": "2024-09-21 01:24:40.984832", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:40.718251" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:655 Saturday 21 September 2024 01:24:41 -0400 (0:00:00.615) 0:00:58.503 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266858", "end": "2024-09-21 01:24:41.576568", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:41.309710" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:661 Saturday 21 September 2024 01:24:41 -0400 (0:00:00.620) 0:00:59.124 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.278790", "end": "2024-09-21 01:24:42.246304", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:41.967514" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:667 Saturday 21 September 2024 01:24:42 -0400 (0:00:00.647) 0:00:59.771 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.264774", "end": "2024-09-21 01:24:42.866655", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:42.601881" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:673 Saturday 21 September 2024 01:24:42 -0400 (0:00:00.635) 0:01:00.406 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.266941", "end": "2024-09-21 01:24:43.578383", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:43.311442" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:679 Saturday 21 September 2024 01:24:43 -0400 (0:00:00.695) 0:01:01.102 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.267942", "end": "2024-09-21 01:24:44.227334", "failed_when_result": false, "rc": 22, "start": "2024-09-21 01:24:43.959392" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:685 Saturday 21 September 2024 01:24:44 -0400 (0:00:00.681) 0:01:01.783 **** ok: [managed_node2] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.312094", "end": "2024-09-21 01:24:44.997754", "rc": 0, "start": "2024-09-21 01:24:44.685660" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Saturday 21 September 2024 01:24:45 -0400 (0:00:00.727) 0:01:02.511 **** changed: [managed_node2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.444542", "end": "2024-09-21 01:24:45.954819", "failed_when_result": false, "rc": 0, "start": "2024-09-21 01:24:45.510277" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node2 : ok=95 changed=37 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0 Saturday 21 September 2024 01:24:46 -0400 (0:00:01.004) 0:01:03.515 **** =============================================================================== Gathering Facts --------------------------------------------------------- 1.25s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 fedora.linux_system_roles.firewall : Install firewalld ------------------ 1.09s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Reload firewalld -------------------------------------------------------- 1.00s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Add custom service without details -------------------------------------- 0.97s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Add valid protocol to custom service ------------------------------------ 0.96s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Add description to custom service --------------------------------------- 0.93s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 Reset default zone to defaults ------------------------------------------ 0.92s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Permit traffic in default zone for https service ------------------------ 0.90s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80 Add custom service with all the elements at once ------------------------ 0.88s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549 Add destination addresses ----------------------------------------------- 0.88s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Ensure default target in permanent internal zone ------------------------ 0.87s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Add short description to custom service --------------------------------- 0.85s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Firewalld custom zone --------------------------------------------------- 0.84s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 Remove ports from custom service without deleting service --------------- 0.83s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Delete custom service --------------------------------------------------- 0.83s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:533 Ensure ICMP block inversion in permanent drop zone, again --------------- 0.82s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:282 Remove valid protocol from customservice -------------------------------- 0.82s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Allow nm interface eth0 in permanent trusted zone, again ---------------- 0.81s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:205 Disable nm interface eth0 in permanent trusted zone --------------------- 0.80s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:214 Allow port 161-162/udp in permanent default zone, again ----------------- 0.79s /tmp/collections-ZIe/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120