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-zSi/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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 Saturday 16 November 2024 00:25:00 -0500 (0:00:00.038) 0:00:00.038 ***** ok: [managed-node2] META: ran handlers TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Saturday 16 November 2024 00:25:01 -0500 (0:00:01.335) 0:00:01.374 ***** included: /tmp/collections-zSi/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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Saturday 16 November 2024 00:25:01 -0500 (0:00:00.081) 0:00:01.455 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Saturday 16 November 2024 00:25:01 -0500 (0:00:00.218) 0:00:01.674 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Saturday 16 November 2024 00:25:02 -0500 (0:00:00.632) 0:00:02.306 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Saturday 16 November 2024 00:25:02 -0500 (0:00:00.070) 0:00:02.377 ***** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Saturday 16 November 2024 00:25:02 -0500 (0:00:00.428) 0:00:02.806 ***** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Saturday 16 November 2024 00:25:02 -0500 (0:00:00.099) 0:00:02.905 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Saturday 16 November 2024 00:25:03 -0500 (0:00:00.872) 0:00:03.778 ***** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Saturday 16 November 2024 00:25:03 -0500 (0:00:00.062) 0:00:03.840 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Saturday 16 November 2024 00:25:03 -0500 (0:00:00.061) 0:00:03.901 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Saturday 16 November 2024 00:25:03 -0500 (0:00:00.072) 0:00:03.974 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Saturday 16 November 2024 00:25:03 -0500 (0:00:00.063) 0:00:04.038 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Saturday 16 November 2024 00:25:04 -0500 (0:00:00.083) 0:00:04.122 ***** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.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 ipset.service ip6tables.service ebtables.service iptables.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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Saturday 16 November 2024 00:25:04 -0500 (0:00:00.780) 0:00:04.903 ***** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice dbus.service polkit.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 ebtables.service shutdown.target ip6tables.service iptables.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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Saturday 16 November 2024 00:25:05 -0500 (0:00:01.011) 0:00:05.914 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Saturday 16 November 2024 00:25:05 -0500 (0:00:00.069) 0:00:05.984 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Saturday 16 November 2024 00:25:06 -0500 (0:00:00.071) 0:00:06.055 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Saturday 16 November 2024 00:25:06 -0500 (0:00:00.064) 0:00:06.120 ***** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Saturday 16 November 2024 00:25:06 -0500 (0:00:00.064) 0:00:06.184 ***** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Saturday 16 November 2024 00:25:06 -0500 (0:00:00.057) 0:00:06.242 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Saturday 16 November 2024 00:25:06 -0500 (0:00:00.163) 0:00:06.406 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Saturday 16 November 2024 00:25:07 -0500 (0:00:00.800) 0:00:07.206 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Saturday 16 November 2024 00:25:07 -0500 (0:00:00.113) 0:00:07.319 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Saturday 16 November 2024 00:25:07 -0500 (0:00:00.140) 0:00:07.460 ***** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Saturday 16 November 2024 00:25:07 -0500 (0:00:00.064) 0:00:07.524 ***** skipping: [managed-node2] => {} TASK [Get default zone] ******************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:11 Saturday 16 November 2024 00:25:07 -0500 (0:00:00.086) 0:00:07.611 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--get-default-zone" ], "delta": "0:00:00.268984", "end": "2024-11-16 00:25:08.276094", "rc": 0, "start": "2024-11-16 00:25:08.007110" } STDOUT: public TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:21 Saturday 16 November 2024 00:25:08 -0500 (0:00:00.813) 0:00:08.425 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.254123", "end": "2024-11-16 00:25:09.020422", "failed_when_result": false, "rc": 112, "start": "2024-11-16 00:25:08.766299" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:27 Saturday 16 November 2024 00:25:09 -0500 (0:00:00.715) 0:00:09.141 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.271388", "end": "2024-11-16 00:25:09.626364", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:25:09.354976" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:33 Saturday 16 November 2024 00:25:09 -0500 (0:00:00.626) 0:00:09.767 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.266768", "end": "2024-11-16 00:25:10.267256", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:25:10.000488" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:39 Saturday 16 November 2024 00:25:10 -0500 (0:00:00.672) 0:00:10.440 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.281128", "end": "2024-11-16 00:25:10.987955", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:25:10.706827" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:45 Saturday 16 November 2024 00:25:11 -0500 (0:00:00.694) 0:00:11.134 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.266706", "end": "2024-11-16 00:25:11.662110", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:25:11.395404" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:51 Saturday 16 November 2024 00:25:11 -0500 (0:00:00.658) 0:00:11.793 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.268355", "end": "2024-11-16 00:25:12.356227", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:25:12.087872" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Saturday 16 November 2024 00:25:12 -0500 (0:00:00.785) 0:00:12.579 ***** ok: [managed-node2] => { "changed": false, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.529067", "end": "2024-11-16 00:25:13.401832", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:25:12.872765" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:66 Saturday 16 November 2024 00:25:13 -0500 (0:00:00.996) 0:00:13.575 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.265102", "end": "2024-11-16 00:25:14.144200", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:25:13.879098" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Saturday 16 November 2024 00:25:14 -0500 (0:00:00.697) 0:00:14.273 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.429653", "end": "2024-11-16 00:25:19.924368", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:25:19.494715" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:80 Saturday 16 November 2024 00:25:20 -0500 (0:00:05.812) 0:00:20.085 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:88 Saturday 16 November 2024 00:25:20 -0500 (0:00:00.786) 0:00:20.872 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:96 Saturday 16 November 2024 00:25:21 -0500 (0:00:00.584) 0:00:21.457 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:104 Saturday 16 November 2024 00:25:22 -0500 (0:00:00.595) 0:00:22.052 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:112 Saturday 16 November 2024 00:25:22 -0500 (0:00:00.680) 0:00:22.732 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120 Saturday 16 November 2024 00:25:23 -0500 (0:00:00.720) 0:00:23.453 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:128 Saturday 16 November 2024 00:25:24 -0500 (0:00:00.895) 0:00:24.349 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:136 Saturday 16 November 2024 00:25:24 -0500 (0:00:00.681) 0:00:25.031 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:144 Saturday 16 November 2024 00:25:25 -0500 (0:00:00.682) 0:00:25.713 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:153 Saturday 16 November 2024 00:25:26 -0500 (0:00:00.577) 0:00:26.291 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:162 Saturday 16 November 2024 00:25:26 -0500 (0:00:00.732) 0:00:27.023 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:170 Saturday 16 November 2024 00:25:27 -0500 (0:00:00.652) 0:00:27.675 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:178 Saturday 16 November 2024 00:25:28 -0500 (0:00:00.767) 0:00:28.443 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:187 Saturday 16 November 2024 00:25:29 -0500 (0:00:00.611) 0:00:29.055 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:196 Saturday 16 November 2024 00:25:29 -0500 (0:00:00.604) 0:00:29.659 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:205 Saturday 16 November 2024 00:25:30 -0500 (0:00:00.678) 0:00:30.338 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:214 Saturday 16 November 2024 00:25:31 -0500 (0:00:00.720) 0:00:31.058 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:223 Saturday 16 November 2024 00:25:31 -0500 (0:00:00.652) 0:00:31.711 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:232 Saturday 16 November 2024 00:25:32 -0500 (0:00:00.622) 0:00:32.334 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:241 Saturday 16 November 2024 00:25:32 -0500 (0:00:00.625) 0:00:32.960 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:250 Saturday 16 November 2024 00:25:33 -0500 (0:00:00.599) 0:00:33.559 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:258 Saturday 16 November 2024 00:25:34 -0500 (0:00:00.606) 0:00:34.165 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:266 Saturday 16 November 2024 00:25:34 -0500 (0:00:00.717) 0:00:34.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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:274 Saturday 16 November 2024 00:25:35 -0500 (0:00:00.714) 0:00:35.597 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:282 Saturday 16 November 2024 00:25:36 -0500 (0:00:00.539) 0:00:36.137 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:290 Saturday 16 November 2024 00:25:36 -0500 (0:00:00.636) 0:00:36.773 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:299 Saturday 16 November 2024 00:25:37 -0500 (0:00:00.602) 0:00:37.375 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:308 Saturday 16 November 2024 00:25:38 -0500 (0:00:00.697) 0:00:38.073 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Saturday 16 November 2024 00:25:38 -0500 (0:00:00.637) 0:00:38.710 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:326 Saturday 16 November 2024 00:25:39 -0500 (0:00:00.918) 0:00:39.628 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Saturday 16 November 2024 00:25:40 -0500 (0:00:00.637) 0:00:40.266 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:344 Saturday 16 November 2024 00:25:41 -0500 (0:00:00.878) 0:00:41.145 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:353 Saturday 16 November 2024 00:25:41 -0500 (0:00:00.654) 0:00:41.799 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:363 Saturday 16 November 2024 00:25:42 -0500 (0:00:00.613) 0:00:42.412 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 Saturday 16 November 2024 00:25:43 -0500 (0:00:00.721) 0:00:43.134 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true } TASK [Assert firewalld custom zone] ******************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:381 Saturday 16 November 2024 00:25:43 -0500 (0:00:00.873) 0:00:44.007 ***** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:386 Saturday 16 November 2024 00:25:44 -0500 (0:00:00.130) 0:00:44.138 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:396 Saturday 16 November 2024 00:25:44 -0500 (0:00:00.689) 0:00:44.827 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:406 Saturday 16 November 2024 00:25:45 -0500 (0:00:00.602) 0:00:45.429 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.259316", "end": "2024-11-16 00:25:45.917635", "rc": 0, "start": "2024-11-16 00:25:45.658319" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [Set default zone] ******************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:410 Saturday 16 November 2024 00:25:45 -0500 (0:00:00.593) 0:00:46.022 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Set default zone, again] ************************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:417 Saturday 16 November 2024 00:25:46 -0500 (0:00:00.796) 0:00:46.819 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add multiple custom services] ******************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:424 Saturday 16 November 2024 00:25:47 -0500 (0:00:00.803) 0:00:47.622 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Saturday 16 November 2024 00:25:48 -0500 (0:00:00.597) 0:00:48.220 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add custom service that already exists] ********************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:442 Saturday 16 November 2024 00:25:49 -0500 (0:00:00.963) 0:00:49.184 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add description to custom service] *************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450 Saturday 16 November 2024 00:25:49 -0500 (0:00:00.610) 0:00:49.794 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add short description to custom service] ********************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Saturday 16 November 2024 00:25:50 -0500 (0:00:00.826) 0:00:50.621 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service] ************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Saturday 16 November 2024 00:25:51 -0500 (0:00:00.826) 0:00:51.447 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add source_ports to custom service again] ******************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:477 Saturday 16 November 2024 00:25:52 -0500 (0:00:00.842) 0:00:52.290 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Add invalid protocol to custom service] ********************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:486 Saturday 16 November 2024 00:25:52 -0500 (0:00:00.634) 0:00:52.925 ***** ok: [managed-node2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [Add valid protocol to custom service] ************************************ task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Saturday 16 November 2024 00:25:53 -0500 (0:00:00.858) 0:00:53.783 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove valid protocol from customservice] ******************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Saturday 16 November 2024 00:25:54 -0500 (0:00:00.937) 0:00:54.720 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Saturday 16 November 2024 00:25:55 -0500 (0:00:00.853) 0:00:55.573 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add destination addresses] *********************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:522 Saturday 16 November 2024 00:25:56 -0500 (0:00:00.882) 0:00:56.456 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service] *************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:533 Saturday 16 November 2024 00:25:57 -0500 (0:00:00.820) 0:00:57.276 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Delete custom service again] ********************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:541 Saturday 16 November 2024 00:25:58 -0500 (0:00:00.783) 0:00:58.060 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549 Saturday 16 November 2024 00:25:58 -0500 (0:00:00.560) 0:00:58.620 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:566 Saturday 16 November 2024 00:25:59 -0500 (0:00:00.838) 0:00:59.459 ***** 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-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:575 Saturday 16 November 2024 00:26:00 -0500 (0:00:00.654) 0:01:00.114 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward same port again (string)] **************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:582 Saturday 16 November 2024 00:26:00 -0500 (0:00:00.651) 0:01:00.765 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (string)] ******************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:589 Saturday 16 November 2024 00:26:01 -0500 (0:00:00.669) 0:01:01.435 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port (dict form)] ************************************************ task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:596 Saturday 16 November 2024 00:26:02 -0500 (0:00:00.816) 0:01:02.252 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Forward port again (dict form)] ****************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:607 Saturday 16 November 2024 00:26:02 -0500 (0:00:00.659) 0:01:02.911 ***** ok: [managed-node2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Disable forward port (dict form)] **************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:618 Saturday 16 November 2024 00:26:03 -0500 (0:00:00.750) 0:01:03.662 ***** changed: [managed-node2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:637 Saturday 16 November 2024 00:26:04 -0500 (0:00:00.737) 0:01:04.400 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.287876", "end": "2024-11-16 00:26:04.950065", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:04.662189" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:643 Saturday 16 November 2024 00:26:05 -0500 (0:00:00.686) 0:01:05.087 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.268459", "end": "2024-11-16 00:26:05.607894", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:05.339435" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:649 Saturday 16 November 2024 00:26:05 -0500 (0:00:00.662) 0:01:05.750 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.272101", "end": "2024-11-16 00:26:06.263820", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:05.991719" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:655 Saturday 16 November 2024 00:26:06 -0500 (0:00:00.643) 0:01:06.393 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.272335", "end": "2024-11-16 00:26:06.883354", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:06.611019" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:661 Saturday 16 November 2024 00:26:06 -0500 (0:00:00.605) 0:01:06.999 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.282953", "end": "2024-11-16 00:26:07.499579", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:07.216626" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:667 Saturday 16 November 2024 00:26:07 -0500 (0:00:00.643) 0:01:07.642 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.271627", "end": "2024-11-16 00:26:08.260407", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:07.988780" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:673 Saturday 16 November 2024 00:26:08 -0500 (0:00:00.809) 0:01:08.451 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.272456", "end": "2024-11-16 00:26:08.999332", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:08.726876" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:679 Saturday 16 November 2024 00:26:09 -0500 (0:00:00.685) 0:01:09.137 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.269737", "end": "2024-11-16 00:26:09.676807", "failed_when_result": false, "rc": 22, "start": "2024-11-16 00:26:09.407070" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone] ****************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:685 Saturday 16 November 2024 00:26:09 -0500 (0:00:00.750) 0:01:09.887 ***** ok: [managed-node2] => { "changed": false, "cmd": [ "firewall-cmd", "--set-default-zone=public" ], "delta": "0:00:00.313753", "end": "2024-11-16 00:26:10.721403", "rc": 0, "start": "2024-11-16 00:26:10.407650" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Saturday 16 November 2024 00:26:10 -0500 (0:00:00.962) 0:01:10.850 ***** changed: [managed-node2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.449771", "end": "2024-11-16 00:26:11.559429", "failed_when_result": false, "rc": 0, "start": "2024-11-16 00:26:11.109658" } 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 16 November 2024 00:26:11 -0500 (0:00:00.931) 0:01:11.781 ***** =============================================================================== Reload firewalld -------------------------------------------------------- 5.81s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:72 Gathering Facts --------------------------------------------------------- 1.34s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:2 fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.01s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Reset default zone to defaults ------------------------------------------ 1.00s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:57 Add custom service without details -------------------------------------- 0.96s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:434 Reset default zone ------------------------------------------------------ 0.96s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:685 Add valid protocol to custom service ------------------------------------ 0.94s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:495 Reload firewalld -------------------------------------------------------- 0.93s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:691 Ensure target ACCEPT in permanent internal zone ------------------------- 0.92s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:317 Allow port 161-162/udp in permanent default zone, again ----------------- 0.90s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:120 Remove ports from custom service without deleting service --------------- 0.88s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:513 Ensure default target in permanent internal zone ------------------------ 0.88s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:335 Firewalld custom zone --------------------------------------------------- 0.87s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:373 fedora.linux_system_roles.firewall : Install firewalld ------------------ 0.87s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Add invalid protocol to custom service ---------------------------------- 0.86s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:486 Remove valid protocol from customservice -------------------------------- 0.85s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:504 Add source_ports to custom service -------------------------------------- 0.84s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:468 Add custom service with all the elements at once ------------------------ 0.84s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:549 Add short description to custom service --------------------------------- 0.83s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:459 Add description to custom service --------------------------------------- 0.83s /tmp/collections-zSi/ansible_collections/fedora/linux_system_roles/tests/firewall/tests_ansible.yml:450