ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa2uqfu7l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 27 July 2022 00:50:50 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.365513", "end": "2022-07-27 00:50:51.358317", "rc": 0, "start": "2022-07-27 00:50:50.992804" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 27 July 2022 00:50:51 +0000 (0:00:00.983) 0:00:01.002 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpix2ig0ra/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:1 Wednesday 27 July 2022 00:50:51 +0000 (0:00:00.075) 0:00:01.077 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:50:52 +0000 (0:00:01.043) 0:00:02.121 ******** included: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:50:52 +0000 (0:00:00.027) 0:00:02.148 ******** ok: [/cache/centos-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Wednesday 27 July 2022 00:50:53 +0000 (0:00:00.510) 0:00:02.659 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: python3-nftables-1:0.9.3-26.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: python3-slip-0.6.4-13.el8.noarch", "Installed: python3-slip-dbus-0.6.4-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-26.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Wednesday 27 July 2022 00:51:43 +0000 (0:00:50.629) 0:00:53.288 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Wednesday 27 July 2022 00:51:43 +0000 (0:00:00.028) 0:00:53.317 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:51:45 +0000 (0:00:01.901) 0:00:55.219 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket system.slice dbus.service sysinit.target polkit.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target ip6tables.service ebtables.service iptables.service ipset.service nftables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.firewall : Check if previous replaced is defined] ***** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:51:46 +0000 (0:00:01.030) 0:00:56.249 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Wednesday 27 July 2022 00:51:46 +0000 (0:00:00.074) 0:00:56.324 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Wednesday 27 July 2022 00:51:46 +0000 (0:00:00.035) 0:00:56.360 ******** TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Wednesday 27 July 2022 00:51:46 +0000 (0:00:00.040) 0:00:56.401 ******** TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.036) 0:00:56.437 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.034) 0:00:56.472 ******** ok: [/cache/centos-8.qcow2] => { "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": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.684) 0:00:57.156 ******** ok: [/cache/centos-8.qcow2] => { "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": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [linux-system-roles.firewall : Get config files, checksums after] ********* task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.054) 0:00:57.210 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.033) 0:00:57.244 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.034) 0:00:57.278 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:14 Wednesday 27 July 2022 00:51:47 +0000 (0:00:00.040) 0:00:57.319 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.256104", "end": "2022-07-27 00:51:48.300829", "failed_when_result": false, "rc": 112, "start": "2022-07-27 00:51:48.044725" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:19 Wednesday 27 July 2022 00:51:48 +0000 (0:00:00.621) 0:00:57.940 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.262492", "end": "2022-07-27 00:51:48.926132", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:51:48.663640" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:24 Wednesday 27 July 2022 00:51:49 +0000 (0:00:00.626) 0:00:58.566 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.260662", "end": "2022-07-27 00:51:49.551894", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:51:49.291232" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:29 Wednesday 27 July 2022 00:51:49 +0000 (0:00:00.627) 0:00:59.194 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.264136", "end": "2022-07-27 00:51:50.194891", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:51:49.930755" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:34 Wednesday 27 July 2022 00:51:50 +0000 (0:00:00.642) 0:00:59.836 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.263423", "end": "2022-07-27 00:51:50.833779", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:51:50.570356" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:39 Wednesday 27 July 2022 00:51:51 +0000 (0:00:00.639) 0:01:00.476 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.277043", "end": "2022-07-27 00:51:51.481590", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:51:51.204547" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:44 Wednesday 27 July 2022 00:51:51 +0000 (0:00:00.646) 0:01:01.123 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.506398", "end": "2022-07-27 00:51:52.363057", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:51:51.856659" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:52 Wednesday 27 July 2022 00:51:52 +0000 (0:00:00.884) 0:01:02.008 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.242978", "end": "2022-07-27 00:51:52.981327", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:51:52.738349" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:57 Wednesday 27 July 2022 00:51:53 +0000 (0:00:00.614) 0:01:02.622 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.712593", "end": "2022-07-27 00:51:54.063932", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:51:53.351339" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:64 Wednesday 27 July 2022 00:51:54 +0000 (0:00:01.086) 0:01:03.709 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:72 Wednesday 27 July 2022 00:51:54 +0000 (0:00:00.675) 0:01:04.384 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:80 Wednesday 27 July 2022 00:51:55 +0000 (0:00:00.558) 0:01:04.942 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:88 Wednesday 27 July 2022 00:51:56 +0000 (0:00:00.562) 0:01:05.505 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:96 Wednesday 27 July 2022 00:51:56 +0000 (0:00:00.543) 0:01:06.049 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:104 Wednesday 27 July 2022 00:51:57 +0000 (0:00:00.720) 0:01:06.769 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:112 Wednesday 27 July 2022 00:51:57 +0000 (0:00:00.532) 0:01:07.302 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmpix2ig0ra/tests/tests_ansible.yml:120 Wednesday 27 July 2022 00:51:58 +0000 (0:00:00.531) 0:01:07.834 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:128 Wednesday 27 July 2022 00:51:58 +0000 (0:00:00.548) 0:01:08.382 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:137 Wednesday 27 July 2022 00:51:59 +0000 (0:00:00.540) 0:01:08.923 ******** ok: [/cache/centos-8.qcow2] => { "__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/tmpix2ig0ra/tests/tests_ansible.yml:146 Wednesday 27 July 2022 00:52:00 +0000 (0:00:00.566) 0:01:09.490 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmpix2ig0ra/tests/tests_ansible.yml:155 Wednesday 27 July 2022 00:52:00 +0000 (0:00:00.545) 0:01:10.036 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:164 Wednesday 27 July 2022 00:52:01 +0000 (0:00:00.591) 0:01:10.627 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:173 Wednesday 27 July 2022 00:52:01 +0000 (0:00:00.594) 0:01:11.221 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:182 Wednesday 27 July 2022 00:52:02 +0000 (0:00:00.557) 0:01:11.779 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:191 Wednesday 27 July 2022 00:52:02 +0000 (0:00:00.540) 0:01:12.319 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:200 Wednesday 27 July 2022 00:52:03 +0000 (0:00:00.538) 0:01:12.857 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:208 Wednesday 27 July 2022 00:52:04 +0000 (0:00:00.573) 0:01:13.431 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:216 Wednesday 27 July 2022 00:52:04 +0000 (0:00:00.595) 0:01:14.026 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:224 Wednesday 27 July 2022 00:52:05 +0000 (0:00:00.580) 0:01:14.607 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:232 Wednesday 27 July 2022 00:52:05 +0000 (0:00:00.586) 0:01:15.193 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:240 Wednesday 27 July 2022 00:52:06 +0000 (0:00:00.589) 0:01:15.782 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:249 Wednesday 27 July 2022 00:52:06 +0000 (0:00:00.587) 0:01:16.369 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:258 Wednesday 27 July 2022 00:52:07 +0000 (0:00:00.551) 0:01:16.921 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:267 Wednesday 27 July 2022 00:52:08 +0000 (0:00:00.534) 0:01:17.456 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:276 Wednesday 27 July 2022 00:52:09 +0000 (0:00:01.173) 0:01:18.629 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:285 Wednesday 27 July 2022 00:52:09 +0000 (0:00:00.551) 0:01:19.180 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:294 Wednesday 27 July 2022 00:52:10 +0000 (0:00:01.020) 0:01:20.201 ******** ok: [/cache/centos-8.qcow2] => { "__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/tmpix2ig0ra/tests/tests_ansible.yml:303 Wednesday 27 July 2022 00:52:11 +0000 (0:00:00.549) 0:01:20.750 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmpix2ig0ra/tests/tests_ansible.yml:315 Wednesday 27 July 2022 00:52:11 +0000 (0:00:00.579) 0:01:21.330 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:327 Wednesday 27 July 2022 00:52:12 +0000 (0:00:00.551) 0:01:21.882 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:335 Wednesday 27 July 2022 00:52:13 +0000 (0:00:01.054) 0:01:22.937 ******** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:340 Wednesday 27 July 2022 00:52:13 +0000 (0:00:00.036) 0:01:22.974 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:350 Wednesday 27 July 2022 00:52:14 +0000 (0:00:00.555) 0:01:23.529 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:360 Wednesday 27 July 2022 00:52:14 +0000 (0:00:00.573) 0:01:24.103 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.247042", "end": "2022-07-27 00:52:15.077819", "rc": 0, "start": "2022-07-27 00:52:14.830777" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:363 Wednesday 27 July 2022 00:52:15 +0000 (0:00:00.612) 0:01:24.715 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:370 Wednesday 27 July 2022 00:52:15 +0000 (0:00:00.618) 0:01:25.334 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:377 Wednesday 27 July 2022 00:52:16 +0000 (0:00:00.579) 0:01:25.913 ******** ok: [/cache/centos-8.qcow2] => { "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/tmpix2ig0ra/tests/tests_ansible.yml:387 Wednesday 27 July 2022 00:52:16 +0000 (0:00:00.503) 0:01:26.416 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:395 Wednesday 27 July 2022 00:52:18 +0000 (0:00:01.068) 0:01:27.485 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:403 Wednesday 27 July 2022 00:52:18 +0000 (0:00:00.585) 0:01:28.071 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:412 Wednesday 27 July 2022 00:52:19 +0000 (0:00:01.037) 0:01:29.109 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:421 Wednesday 27 July 2022 00:52:20 +0000 (0:00:01.049) 0:01:30.158 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:430 Wednesday 27 July 2022 00:52:21 +0000 (0:00:01.052) 0:01:31.210 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:439 Wednesday 27 July 2022 00:52:22 +0000 (0:00:00.564) 0:01:31.775 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:448 Wednesday 27 July 2022 00:52:22 +0000 (0:00:00.566) 0:01:32.341 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:457 Wednesday 27 July 2022 00:52:23 +0000 (0:00:01.067) 0:01:33.409 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:466 Wednesday 27 July 2022 00:52:25 +0000 (0:00:01.055) 0:01:34.464 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:475 Wednesday 27 July 2022 00:52:26 +0000 (0:00:01.069) 0:01:35.534 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:486 Wednesday 27 July 2022 00:52:27 +0000 (0:00:01.081) 0:01:36.616 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:494 Wednesday 27 July 2022 00:52:28 +0000 (0:00:01.058) 0:01:37.675 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:502 Wednesday 27 July 2022 00:52:28 +0000 (0:00:00.590) 0:01:38.265 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:519 Wednesday 27 July 2022 00:52:29 +0000 (0:00:01.109) 0:01:39.375 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:528 Wednesday 27 July 2022 00:52:30 +0000 (0:00:00.554) 0:01:39.929 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:535 Wednesday 27 July 2022 00:52:31 +0000 (0:00:00.585) 0:01:40.515 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:542 Wednesday 27 July 2022 00:52:31 +0000 (0:00:00.570) 0:01:41.085 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:549 Wednesday 27 July 2022 00:52:32 +0000 (0:00:00.593) 0:01:41.679 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:560 Wednesday 27 July 2022 00:52:32 +0000 (0:00:00.567) 0:01:42.246 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:571 Wednesday 27 July 2022 00:52:33 +0000 (0:00:00.540) 0:01:42.787 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:590 Wednesday 27 July 2022 00:52:33 +0000 (0:00:00.539) 0:01:43.327 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.284578", "end": "2022-07-27 00:52:34.345078", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:34.060500" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:595 Wednesday 27 July 2022 00:52:34 +0000 (0:00:00.660) 0:01:43.987 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.280927", "end": "2022-07-27 00:52:35.010603", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:34.729676" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:600 Wednesday 27 July 2022 00:52:35 +0000 (0:00:00.668) 0:01:44.656 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.260110", "end": "2022-07-27 00:52:35.645279", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:35.385169" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:605 Wednesday 27 July 2022 00:52:35 +0000 (0:00:00.631) 0:01:45.288 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.270493", "end": "2022-07-27 00:52:36.289734", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:36.019241" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:610 Wednesday 27 July 2022 00:52:36 +0000 (0:00:00.644) 0:01:45.932 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.291771", "end": "2022-07-27 00:52:36.957511", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:36.665740" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:615 Wednesday 27 July 2022 00:52:37 +0000 (0:00:00.674) 0:01:46.606 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.261787", "end": "2022-07-27 00:52:37.600475", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:37.338688" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:620 Wednesday 27 July 2022 00:52:37 +0000 (0:00:00.637) 0:01:47.243 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.262200", "end": "2022-07-27 00:52:38.236485", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:37.974285" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:625 Wednesday 27 July 2022 00:52:38 +0000 (0:00:00.640) 0:01:47.883 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.279040", "end": "2022-07-27 00:52:38.889679", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:52:38.610639" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpix2ig0ra/tests/tests_ansible.yml:630 Wednesday 27 July 2022 00:52:39 +0000 (0:00:00.653) 0:01:48.537 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.727136", "end": "2022-07-27 00:52:39.993363", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:52:39.266227" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=87 changed=53 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 27 July 2022 00:52:40 +0000 (0:00:01.118) 0:01:49.655 ******** =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------ 50.63s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 linux-system-roles.firewall : Install python3-firewall ------------------ 1.90s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Ensure target ACCEPT in permanent internal zone ------------------------- 1.17s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:267 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.12s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:630 ---------------------------------- add custom service with all the elements at once ------------------------ 1.11s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:502 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.09s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:57 ----------------------------------- add destination addresses ----------------------------------------------- 1.08s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:475 ---------------------------------- remove ports from custom service without deleting service --------------- 1.07s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:466 ---------------------------------- add custom service without details -------------------------------------- 1.07s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:387 ---------------------------------- add valid protocol to custom service ------------------------------------ 1.07s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:448 ---------------------------------- delete custom service --------------------------------------------------- 1.06s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:486 ---------------------------------- remove valid protocol from customservice -------------------------------- 1.06s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:457 ---------------------------------- Firewalld custom zone --------------------------------------------------- 1.05s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:327 ---------------------------------- add source_ports to custom service -------------------------------------- 1.05s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:421 ---------------------------------- add short description to custom service --------------------------------- 1.05s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:412 ---------------------------------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:1 ------------------------------------ add description to custom service --------------------------------------- 1.04s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:403 ---------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.03s /tmp/tmpix2ig0ra/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- Ensure default target in permanent internal zone ------------------------ 1.02s /tmp/tmpix2ig0ra/tests/tests_ansible.yml:285 ---------------------------------- Enable HA repos --------------------------------------------------------- 0.98s /cache/centos-8_setup.yml:5 --------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa2uqfu7l executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-8_setup.yml *************************************************** 1 plays in /cache/centos-8_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-8_setup.yml:5 Wednesday 27 July 2022 00:58:40 +0000 (0:00:00.018) 0:00:00.018 ******** changed: [/cache/centos-8.qcow2] => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "ha" ], "delta": "0:00:00.366804", "end": "2022-07-27 00:58:41.016855", "rc": 0, "start": "2022-07-27 00:58:40.650051" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 27 July 2022 00:58:41 +0000 (0:00:00.965) 0:00:00.984 ******** =============================================================================== Enable HA repos --------------------------------------------------------- 0.97s /cache/centos-8_setup.yml:5 --------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:1 Wednesday 27 July 2022 00:58:41 +0000 (0:00:00.094) 0:00:01.078 ******** ok: [/cache/centos-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Wednesday 27 July 2022 00:58:42 +0000 (0:00:01.043) 0:00:02.121 ******** included: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/centos-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Wednesday 27 July 2022 00:58:42 +0000 (0:00:00.031) 0:00:02.152 ******** ok: [/cache/centos-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Wednesday 27 July 2022 00:58:43 +0000 (0:00:00.512) 0:00:02.665 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: python3-nftables-1:0.9.3-26.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libpcap-14:1.9.1-5.el8.x86_64", "Installed: python3-slip-0.6.4-13.el8.noarch", "Installed: python3-slip-dbus-0.6.4-13.el8.noarch", "Installed: python3-decorator-4.2.1-2.el8.noarch", "Installed: nftables-1:0.9.3-26.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: libibverbs-37.2-1.el8.x86_64", "Installed: ipset-7.1-1.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Wednesday 27 July 2022 00:59:20 +0000 (0:00:37.355) 0:00:40.020 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Wednesday 27 July 2022 00:59:20 +0000 (0:00:00.030) 0:00:40.051 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Wednesday 27 July 2022 00:59:22 +0000 (0:00:01.926) 0:00:41.977 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target dbus.socket polkit.service dbus.service system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "nftables.service shutdown.target ip6tables.service ebtables.service ipset.service iptables.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/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", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "6968", "LimitNPROCSoft": "6968", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6968", "LimitSIGPENDINGSoft": "6968", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "11149", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Wednesday 27 July 2022 00:59:23 +0000 (0:00:01.063) 0:00:43.041 ******** ok: [/cache/centos-8.qcow2] => { "ansible_facts": { "__firewall_previous_replaced": false, "__firewall_python_cmd": "/usr/libexec/platform-python" }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Wednesday 27 July 2022 00:59:23 +0000 (0:00:00.045) 0:00:43.086 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Wednesday 27 July 2022 00:59:23 +0000 (0:00:00.030) 0:00:43.116 ******** TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Wednesday 27 July 2022 00:59:23 +0000 (0:00:00.031) 0:00:43.148 ******** TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Wednesday 27 July 2022 00:59:23 +0000 (0:00:00.033) 0:00:43.181 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : gather firewall config if no arguments] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Wednesday 27 July 2022 00:59:23 +0000 (0:00:00.033) 0:00:43.214 ******** ok: [/cache/centos-8.qcow2] => { "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": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } } TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Wednesday 27 July 2022 00:59:24 +0000 (0:00:00.687) 0:00:43.901 ******** ok: [/cache/centos-8.qcow2] => { "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": false, "forward_ports": [], "icmp_block_inversion": false, "icmp_blocks": [], "interfaces": [], "masquerade": false, "ports": [], "protocols": [], "rules_str": [], "services": [ "ssh", "dhcpv6-client", "cockpit" ], "short": "Public", "source_ports": [], "sources": [], "target": "default", "version": "" } } }, "default": { "helpers": [ "Q.931", "RAS", "amanda", "ftp", "h323", "irc", "netbios-ns", "pptp", "proto-gre", "sane", "sip", "snmp", "tftp" ], "icmptypes": [ "address-unreachable", "bad-header", "beyond-scope", "communication-prohibited", "destination-unreachable", "echo-reply", "echo-request", "failed-policy", "fragmentation-needed", "unknown-option", "host-precedence-violation", "host-prohibited", "host-redirect", "host-unknown", "host-unreachable", "ip-header-bad", "neighbour-advertisement", "neighbour-solicitation", "network-prohibited", "network-redirect", "network-unknown", "network-unreachable", "no-route", "packet-too-big", "parameter-problem", "port-unreachable", "precedence-cutoff", "protocol-unreachable", "redirect", "reject-route", "required-option-missing", "router-advertisement", "router-solicitation", "source-quench", "source-route-failed", "time-exceeded", "timestamp-reply", "timestamp-request", "tos-host-redirect", "tos-host-unreachable", "tos-network-redirect", "tos-network-unreachable", "ttl-zero-during-reassembly", "ttl-zero-during-transit", "unknown-header-type" ], "policies": [ "allow-host-ipv6" ], "services": [ "imap", "redis", "RH-Satellite-6-capsule", "kibana", "RH-Satellite-6", "klogin", "amanda-client", "https", "rpc-bind", "amanda-k5-client", "nbd", "amqp", "nfs", "amqps", "nfs3", "apcupsd", "nmea-0183", "audit", "kpasswd", "bacula-client", "nrpe", "bacula", "ntp", "bb", "nut", "bgp", "kprop", "bitcoin-rpc", "imaps", "rquotad", "bitcoin-testnet-rpc", "kshell", "bitcoin-testnet", "openvpn", "bitcoin", "kube-apiserver", "bittorrent-lsd", "ldap", "ceph-mon", "ovirt-imageio", "ceph", "ldaps", "cfengine", "ovirt-vmconsole", "cockpit", "libvirt-tls", "collectd", "condor-collector", "plex", "ctdb", "pmcd", "dhcp", "libvirt", "dhcpv6-client", "pmproxy", "dhcpv6", "pmwebapi", "distcc", "lightning-network", "dns-over-tls", "pmwebapis", "dns", "llmnr", "docker-registry", "managesieve", "docker-swarm", "matrix", "dropbox-lansync", "mdns", "elasticsearch", "memcache", "etcd-client", "minidlna", "etcd-server", "pop3", "finger", "mongodb", "foreman-proxy", "pop3s", "foreman", "mosh", "freeipa-4", "mountd", "freeipa-ldap", "mqtt-tls", "freeipa-ldaps", "ipp-client", "freeipa-replication", "mqtt", "freeipa-trust", "postgresql", "ftp", "privoxy", "galera", "ms-wbt", "ganglia-client", "mssql", "ganglia-master", "prometheus", "git", "proxy-dhcp", "grafana", "ptp", "gre", "ipp", "rsh", "high-availability", "pulseaudio", "http", "ipsec", "puppetmaster", "irc", "quassel", "ircs", "murmur", "iscsi-target", "radius", "isns", "rdp", "jenkins", "redis-sentinel", "kadmin", "mysql", "kdeconnect", "kerberos", "rsyncd", "ovirt-storageconsole", "rtsp", "salt-master", "samba-client", "samba-dc", "samba", "sane", "sip", "sips", "slp", "smtp-submission", "smtp", "smtps", "snmp", "snmptrap", "spideroak-lansync", "spotify-sync", "squid", "ssdp", "ssh", "steam-streaming", "svdrp", "svn", "syncthing-gui", "syncthing", "synergy", "syslog-tls", "syslog", "telnet", "tentacle", "tftp-client", "tftp", "tile38", "tinc", "tor-socks", "transmission-client", "upnp-client", "vdsm", "vnc-server", "wbem-http", "wbem-https", "wsman", "wsmans", "xdmcp", "xmpp-bosh", "xmpp-client", "xmpp-local", "xmpp-server", "zabbix-agent", "zabbix-server" ], "zones": [ "nm-shared", "block", "dmz", "drop", "external", "home", "internal", "public", "trusted", "work" ] }, "default_zone": "public" } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Wednesday 27 July 2022 00:59:24 +0000 (0:00:00.051) 0:00:43.953 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Wednesday 27 July 2022 00:59:24 +0000 (0:00:00.034) 0:00:43.988 ******** skipping: [/cache/centos-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Wednesday 27 July 2022 00:59:24 +0000 (0:00:00.034) 0:00:44.022 ******** skipping: [/cache/centos-8.qcow2] => {} META: role_complete for /cache/centos-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:14 Wednesday 27 July 2022 00:59:24 +0000 (0:00:00.039) 0:00:44.062 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.248836", "end": "2022-07-27 00:59:24.761199", "failed_when_result": false, "rc": 112, "start": "2022-07-27 00:59:24.512363" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:19 Wednesday 27 July 2022 00:59:25 +0000 (0:00:00.661) 0:00:44.723 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.263687", "end": "2022-07-27 00:59:25.457928", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:59:25.194241" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:24 Wednesday 27 July 2022 00:59:26 +0000 (0:00:00.699) 0:00:45.422 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.256947", "end": "2022-07-27 00:59:26.089319", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:59:25.832372" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:29 Wednesday 27 July 2022 00:59:26 +0000 (0:00:00.634) 0:00:46.057 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.261676", "end": "2022-07-27 00:59:26.736874", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:59:26.475198" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:34 Wednesday 27 July 2022 00:59:27 +0000 (0:00:00.642) 0:00:46.699 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.251813", "end": "2022-07-27 00:59:27.368315", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:59:27.116502" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:39 Wednesday 27 July 2022 00:59:28 +0000 (0:00:00.632) 0:00:47.332 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.260788", "end": "2022-07-27 00:59:28.003373", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:59:27.742585" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:44 Wednesday 27 July 2022 00:59:28 +0000 (0:00:00.634) 0:00:47.966 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.491663", "end": "2022-07-27 00:59:28.866466", "failed_when_result": false, "rc": 22, "start": "2022-07-27 00:59:28.374803" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:52 Wednesday 27 July 2022 00:59:29 +0000 (0:00:00.862) 0:00:48.828 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.241376", "end": "2022-07-27 00:59:29.477857", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:59:29.236481" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:57 Wednesday 27 July 2022 00:59:30 +0000 (0:00:00.609) 0:00:49.438 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.721593", "end": "2022-07-27 00:59:30.558061", "failed_when_result": false, "rc": 0, "start": "2022-07-27 00:59:29.836468" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:64 Wednesday 27 July 2022 00:59:31 +0000 (0:00:01.082) 0:00:50.520 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:72 Wednesday 27 July 2022 00:59:32 +0000 (0:00:00.700) 0:00:51.221 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:80 Wednesday 27 July 2022 00:59:32 +0000 (0:00:00.557) 0:00:51.778 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp, again] ****************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:88 Wednesday 27 July 2022 00:59:33 +0000 (0:00:00.558) 0:00:52.336 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:96 Wednesday 27 July 2022 00:59:33 +0000 (0:00:00.572) 0:00:52.909 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone, again] ***************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:104 Wednesday 27 July 2022 00:59:34 +0000 (0:00:00.576) 0:00:53.485 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Do not permit traffic in default zone on port 8081/tcp] ****************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:112 Wednesday 27 July 2022 00:59:34 +0000 (0:00:00.544) 0:00:54.030 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmp2v5r575a/tests/firewall/tests_ansible.yml:120 Wednesday 27 July 2022 00:59:35 +0000 (0:00:00.547) 0:00:54.577 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:128 Wednesday 27 July 2022 00:59:35 +0000 (0:00:00.581) 0:00:55.158 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:137 Wednesday 27 July 2022 00:59:36 +0000 (0:00:00.552) 0:00:55.710 ******** ok: [/cache/centos-8.qcow2] => { "__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/tmp2v5r575a/tests/firewall/tests_ansible.yml:146 Wednesday 27 July 2022 00:59:37 +0000 (0:00:00.579) 0:00:56.289 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmp2v5r575a/tests/firewall/tests_ansible.yml:154 Wednesday 27 July 2022 00:59:37 +0000 (0:00:00.551) 0:00:56.841 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone] ****************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:162 Wednesday 27 July 2022 00:59:38 +0000 (0:00:00.575) 0:00:57.416 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow source 192.0.2.0/24 in internal zone, again] *********************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:171 Wednesday 27 July 2022 00:59:38 +0000 (0:00:00.541) 0:00:57.958 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:180 Wednesday 27 July 2022 00:59:39 +0000 (0:00:00.560) 0:00:58.518 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:189 Wednesday 27 July 2022 00:59:39 +0000 (0:00:00.572) 0:00:59.091 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:198 Wednesday 27 July 2022 00:59:40 +0000 (0:00:00.550) 0:00:59.641 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:206 Wednesday 27 July 2022 00:59:40 +0000 (0:00:00.544) 0:01:00.185 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:214 Wednesday 27 July 2022 00:59:41 +0000 (0:00:00.533) 0:01:00.719 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:222 Wednesday 27 July 2022 00:59:42 +0000 (0:00:00.611) 0:01:01.330 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:230 Wednesday 27 July 2022 00:59:42 +0000 (0:00:00.586) 0:01:01.917 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:238 Wednesday 27 July 2022 00:59:43 +0000 (0:00:00.598) 0:01:02.516 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:247 Wednesday 27 July 2022 00:59:43 +0000 (0:00:00.581) 0:01:03.098 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:256 Wednesday 27 July 2022 00:59:44 +0000 (0:00:00.583) 0:01:03.682 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:265 Wednesday 27 July 2022 00:59:45 +0000 (0:00:00.573) 0:01:04.255 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:274 Wednesday 27 July 2022 00:59:46 +0000 (0:00:01.216) 0:01:05.471 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:283 Wednesday 27 July 2022 00:59:46 +0000 (0:00:00.566) 0:01:06.038 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:292 Wednesday 27 July 2022 00:59:47 +0000 (0:00:01.032) 0:01:07.070 ******** ok: [/cache/centos-8.qcow2] => { "__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/tmp2v5r575a/tests/firewall/tests_ansible.yml:301 Wednesday 27 July 2022 00:59:48 +0000 (0:00:00.539) 0:01:07.610 ******** changed: [/cache/centos-8.qcow2] => { "__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/tmp2v5r575a/tests/firewall/tests_ansible.yml:311 Wednesday 27 July 2022 00:59:48 +0000 (0:00:00.574) 0:01:08.184 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:321 Wednesday 27 July 2022 00:59:49 +0000 (0:00:00.541) 0:01:08.726 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:329 Wednesday 27 July 2022 00:59:50 +0000 (0:00:01.037) 0:01:09.763 ******** ok: [/cache/centos-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:334 Wednesday 27 July 2022 00:59:50 +0000 (0:00:00.040) 0:01:09.803 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:344 Wednesday 27 July 2022 00:59:51 +0000 (0:00:00.558) 0:01:10.361 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:354 Wednesday 27 July 2022 00:59:51 +0000 (0:00:00.548) 0:01:10.910 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.322943", "end": "2022-07-27 00:59:51.671305", "rc": 0, "start": "2022-07-27 00:59:51.348362" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:357 Wednesday 27 July 2022 00:59:52 +0000 (0:00:00.732) 0:01:11.642 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:364 Wednesday 27 July 2022 00:59:53 +0000 (0:00:00.661) 0:01:12.303 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:371 Wednesday 27 July 2022 00:59:53 +0000 (0:00:00.565) 0:01:12.868 ******** ok: [/cache/centos-8.qcow2] => { "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/tmp2v5r575a/tests/firewall/tests_ansible.yml:381 Wednesday 27 July 2022 00:59:54 +0000 (0:00:00.492) 0:01:13.361 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:389 Wednesday 27 July 2022 00:59:55 +0000 (0:00:01.091) 0:01:14.453 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:397 Wednesday 27 July 2022 00:59:55 +0000 (0:00:00.561) 0:01:15.014 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:406 Wednesday 27 July 2022 00:59:56 +0000 (0:00:01.052) 0:01:16.067 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:415 Wednesday 27 July 2022 00:59:57 +0000 (0:00:01.074) 0:01:17.141 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:424 Wednesday 27 July 2022 00:59:58 +0000 (0:00:01.059) 0:01:18.201 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:433 Wednesday 27 July 2022 00:59:59 +0000 (0:00:00.554) 0:01:18.756 ******** ok: [/cache/centos-8.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:442 Wednesday 27 July 2022 01:00:00 +0000 (0:00:00.572) 0:01:19.328 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:451 Wednesday 27 July 2022 01:00:01 +0000 (0:00:01.156) 0:01:20.485 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:460 Wednesday 27 July 2022 01:00:02 +0000 (0:00:01.147) 0:01:21.632 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:469 Wednesday 27 July 2022 01:00:03 +0000 (0:00:01.092) 0:01:22.725 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:480 Wednesday 27 July 2022 01:00:04 +0000 (0:00:01.062) 0:01:23.787 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:488 Wednesday 27 July 2022 01:00:05 +0000 (0:00:01.082) 0:01:24.870 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:496 Wednesday 27 July 2022 01:00:06 +0000 (0:00:00.557) 0:01:25.428 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:513 Wednesday 27 July 2022 01:00:07 +0000 (0:00:01.088) 0:01:26.516 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [forward port 40 to 0.0.0.0:8080 (string)] ******************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:522 Wednesday 27 July 2022 01:00:07 +0000 (0:00:00.624) 0:01:27.141 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward same port again (string)] **************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:529 Wednesday 27 July 2022 01:00:08 +0000 (0:00:00.614) 0:01:27.756 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (string)] ******************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:536 Wednesday 27 July 2022 01:00:09 +0000 (0:00:00.605) 0:01:28.361 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port (dict form)] ************************************************ task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:543 Wednesday 27 July 2022 01:00:09 +0000 (0:00:00.595) 0:01:28.956 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [forward port again (dict form)] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:554 Wednesday 27 July 2022 01:00:10 +0000 (0:00:00.604) 0:01:29.561 ******** ok: [/cache/centos-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [disable forward port (dict form)] **************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:565 Wednesday 27 July 2022 01:00:10 +0000 (0:00:00.561) 0:01:30.122 ******** changed: [/cache/centos-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:584 Wednesday 27 July 2022 01:00:11 +0000 (0:00:00.555) 0:01:30.678 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.283170", "end": "2022-07-27 01:00:11.381413", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:11.098243" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:589 Wednesday 27 July 2022 01:00:12 +0000 (0:00:00.671) 0:01:31.349 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.266612", "end": "2022-07-27 01:00:12.023410", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:11.756798" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:594 Wednesday 27 July 2022 01:00:12 +0000 (0:00:00.640) 0:01:31.990 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.260736", "end": "2022-07-27 01:00:12.665112", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:12.404376" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:599 Wednesday 27 July 2022 01:00:13 +0000 (0:00:00.641) 0:01:32.631 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.273452", "end": "2022-07-27 01:00:13.311816", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:13.038364" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:604 Wednesday 27 July 2022 01:00:14 +0000 (0:00:00.645) 0:01:33.277 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.250235", "end": "2022-07-27 01:00:13.945827", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:13.695592" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:609 Wednesday 27 July 2022 01:00:14 +0000 (0:00:00.634) 0:01:33.911 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.256622", "end": "2022-07-27 01:00:14.578759", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:14.322137" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:614 Wednesday 27 July 2022 01:00:15 +0000 (0:00:00.631) 0:01:34.543 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.259502", "end": "2022-07-27 01:00:15.208733", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:14.949231" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:619 Wednesday 27 July 2022 01:00:15 +0000 (0:00:00.633) 0:01:35.176 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.258089", "end": "2022-07-27 01:00:15.856478", "failed_when_result": false, "rc": 22, "start": "2022-07-27 01:00:15.598389" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:624 Wednesday 27 July 2022 01:00:16 +0000 (0:00:00.644) 0:01:35.821 ******** changed: [/cache/centos-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.721137", "end": "2022-07-27 01:00:16.957583", "failed_when_result": false, "rc": 0, "start": "2022-07-27 01:00:16.236446" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-8.qcow2 : ok=87 changed=53 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Wednesday 27 July 2022 01:00:17 +0000 (0:00:01.110) 0:01:36.931 ******** =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ----------------- 37.36s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.93s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Ensure target ACCEPT in permanent internal zone ------------------------- 1.22s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:265 ------------------------- add valid protocol to custom service ------------------------------------ 1.16s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:442 ------------------------- remove valid protocol from customservice -------------------------------- 1.15s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:451 ------------------------- Reload firewalld -------------------------------------------------------- 1.11s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:624 ------------------------- remove ports from custom service without deleting service --------------- 1.09s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:460 ------------------------- add custom service without details -------------------------------------- 1.09s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:381 ------------------------- add custom service with all the elements at once ------------------------ 1.09s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:496 ------------------------- delete custom service --------------------------------------------------- 1.08s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:480 ------------------------- Reload firewalld -------------------------------------------------------- 1.08s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:57 -------------------------- add short description to custom service --------------------------------- 1.07s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:406 ------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.06s /tmp/tmpa2uqfu7l/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 add destination addresses ----------------------------------------------- 1.06s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:469 ------------------------- add source_ports to custom service -------------------------------------- 1.06s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:415 ------------------------- add description to custom service --------------------------------------- 1.05s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:397 ------------------------- Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:1 --------------------------- Firewalld custom zone --------------------------------------------------- 1.04s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:321 ------------------------- Ensure default target in permanent internal zone ------------------------ 1.03s /tmp/tmp2v5r575a/tests/firewall/tests_ansible.yml:283 ------------------------- Enable HA repos --------------------------------------------------------- 0.97s /cache/centos-8_setup.yml:5 ---------------------------------------------------