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/tmprzrc8rs_ 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 23 June 2022 17:04:26 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 23 June 2022 17:04:28 +0000 (0:00:01.401) 0:00:01.419 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmpulwi5xtv/tests/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:1 Thursday 23 June 2022 17:04:28 +0000 (0:00:00.049) 0:00:01.468 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [linux-system-roles.firewall : include_tasks] ***************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:1 Thursday 23 June 2022 17:04:30 +0000 (0:00:02.357) 0:00:03.826 ********* included: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [linux-system-roles.firewall : Ensure ansible_facts used by role] ********* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:04:30 +0000 (0:00:00.028) 0:00:03.854 ********* ok: [/cache/rhel-8.qcow2] TASK [linux-system-roles.firewall : Install firewalld] ************************* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Thursday 23 June 2022 17:04:31 +0000 (0:00:00.667) 0:00:04.522 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-slip-0.6.4-11.el8.noarch", "Installed: python3-slip-dbus-0.6.4-11.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: python3-nftables-1:0.9.3-25.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64" ] } TASK [linux-system-roles.firewall : Install python-firewall] ******************* task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:13 Thursday 23 June 2022 17:04:37 +0000 (0:00:05.700) 0:00:10.223 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Install python3-firewall] ****************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Thursday 23 June 2022 17:04:37 +0000 (0:00:00.025) 0:00:10.249 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.firewall : Enable and start firewalld service] ******** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 Thursday 23 June 2022 17:04:38 +0000 (0:00:01.267) 0:00:11.516 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "polkit.service system.slice dbus.service dbus.socket sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.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": "ipset.service ebtables.service shutdown.target nftables.service ip6tables.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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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 system.slice sysinit.target", "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": "11153", "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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:9 Thursday 23 June 2022 17:04:39 +0000 (0:00:01.057) 0:00:12.574 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:18 Thursday 23 June 2022 17:04:39 +0000 (0:00:00.078) 0:00:12.652 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Configure firewall] ************************ task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:40 Thursday 23 June 2022 17:04:39 +0000 (0:00:00.032) 0:00:12.685 ********* TASK [linux-system-roles.firewall : gather firewall config information] ******** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:84 Thursday 23 June 2022 17:04:39 +0000 (0:00:00.033) 0:00:12.718 ********* TASK [linux-system-roles.firewall : update firewalld_config fact] ************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:95 Thursday 23 June 2022 17:04:39 +0000 (0:00:00.032) 0:00:12.751 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : gather firewall config if no arguments] **** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:107 Thursday 23 June 2022 17:04:39 +0000 (0:00:00.031) 0:00:12.783 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "firewall_config": { "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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:112 Thursday 23 June 2022 17:04:40 +0000 (0:00:00.694) 0:00:13.478 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_config": { "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/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:122 Thursday 23 June 2022 17:04:40 +0000 (0:00:00.075) 0:00:13.553 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Calculate what has changed] **************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:130 Thursday 23 June 2022 17:04:40 +0000 (0:00:00.039) 0:00:13.593 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.firewall : Show diffs] ******************************** task path: /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:139 Thursday 23 June 2022 17:04:40 +0000 (0:00:00.035) 0:00:13.628 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:14 Thursday 23 June 2022 17:04:40 +0000 (0:00:00.040) 0:00:13.669 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.262598", "end": "2022-06-23 13:04:40.475984", "failed_when_result": false, "rc": 112, "start": "2022-06-23 13:04:40.213386" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:19 Thursday 23 June 2022 17:04:41 +0000 (0:00:00.780) 0:00:14.449 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.254092", "end": "2022-06-23 13:04:41.105005", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:40.850913" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:24 Thursday 23 June 2022 17:04:41 +0000 (0:00:00.630) 0:00:15.079 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.263390", "end": "2022-06-23 13:04:41.743454", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:41.480064" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:29 Thursday 23 June 2022 17:04:42 +0000 (0:00:00.637) 0:00:15.717 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.262460", "end": "2022-06-23 13:04:42.378478", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:42.116018" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:34 Thursday 23 June 2022 17:04:43 +0000 (0:00:00.633) 0:00:16.350 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.262754", "end": "2022-06-23 13:04:43.011050", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:42.748296" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:39 Thursday 23 June 2022 17:04:43 +0000 (0:00:00.635) 0:00:16.985 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.268485", "end": "2022-06-23 13:04:43.655568", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:43.387083" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:44 Thursday 23 June 2022 17:04:44 +0000 (0:00:00.647) 0:00:17.633 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.493587", "end": "2022-06-23 13:04:44.528629", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:04:44.035042" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:52 Thursday 23 June 2022 17:04:45 +0000 (0:00:00.869) 0:00:18.502 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.254675", "end": "2022-06-23 13:04:45.149341", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:04:44.894666" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:57 Thursday 23 June 2022 17:04:45 +0000 (0:00:00.623) 0:00:19.126 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.713792", "end": "2022-06-23 13:04:46.247347", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:04:45.533555" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:64 Thursday 23 June 2022 17:04:47 +0000 (0:00:01.096) 0:00:20.223 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:72 Thursday 23 June 2022 17:04:47 +0000 (0:00:00.668) 0:00:20.891 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:80 Thursday 23 June 2022 17:04:48 +0000 (0:00:00.558) 0:00:21.450 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:88 Thursday 23 June 2022 17:04:48 +0000 (0:00:00.535) 0:00:21.985 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:96 Thursday 23 June 2022 17:04:49 +0000 (0:00:00.548) 0:00:22.534 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:104 Thursday 23 June 2022 17:04:49 +0000 (0:00:00.555) 0:00:23.090 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:112 Thursday 23 June 2022 17:04:50 +0000 (0:00:00.549) 0:00:23.639 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:120 Thursday 23 June 2022 17:04:50 +0000 (0:00:00.548) 0:00:24.188 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:128 Thursday 23 June 2022 17:04:51 +0000 (0:00:00.553) 0:00:24.742 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:137 Thursday 23 June 2022 17:04:52 +0000 (0:00:00.554) 0:00:25.296 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:146 Thursday 23 June 2022 17:04:52 +0000 (0:00:00.553) 0:00:25.850 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:155 Thursday 23 June 2022 17:04:53 +0000 (0:00:00.558) 0:00:26.408 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:164 Thursday 23 June 2022 17:04:53 +0000 (0:00:00.547) 0:00:26.956 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:173 Thursday 23 June 2022 17:04:54 +0000 (0:00:00.542) 0:00:27.498 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:182 Thursday 23 June 2022 17:04:54 +0000 (0:00:00.550) 0:00:28.049 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:191 Thursday 23 June 2022 17:04:55 +0000 (0:00:00.560) 0:00:28.609 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:200 Thursday 23 June 2022 17:04:55 +0000 (0:00:00.537) 0:00:29.146 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:208 Thursday 23 June 2022 17:04:56 +0000 (0:00:00.557) 0:00:29.704 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:216 Thursday 23 June 2022 17:04:57 +0000 (0:00:00.526) 0:00:30.230 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:224 Thursday 23 June 2022 17:04:57 +0000 (0:00:00.538) 0:00:30.769 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:232 Thursday 23 June 2022 17:04:58 +0000 (0:00:00.563) 0:00:31.332 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:240 Thursday 23 June 2022 17:04:58 +0000 (0:00:00.548) 0:00:31.881 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:249 Thursday 23 June 2022 17:04:59 +0000 (0:00:00.539) 0:00:32.420 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:258 Thursday 23 June 2022 17:04:59 +0000 (0:00:00.547) 0:00:32.967 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:267 Thursday 23 June 2022 17:05:00 +0000 (0:00:00.585) 0:00:33.552 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:276 Thursday 23 June 2022 17:05:01 +0000 (0:00:01.198) 0:00:34.751 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:285 Thursday 23 June 2022 17:05:02 +0000 (0:00:00.590) 0:00:35.342 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:294 Thursday 23 June 2022 17:05:03 +0000 (0:00:01.065) 0:00:36.407 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:303 Thursday 23 June 2022 17:05:03 +0000 (0:00:00.572) 0:00:36.980 ********* changed: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:315 Thursday 23 June 2022 17:05:04 +0000 (0:00:00.570) 0:00:37.550 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:327 Thursday 23 June 2022 17:05:04 +0000 (0:00:00.533) 0:00:38.083 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:335 Thursday 23 June 2022 17:05:05 +0000 (0:00:01.025) 0:00:39.109 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:340 Thursday 23 June 2022 17:05:05 +0000 (0:00:00.036) 0:00:39.145 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:350 Thursday 23 June 2022 17:05:06 +0000 (0:00:00.554) 0:00:39.700 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:360 Thursday 23 June 2022 17:05:07 +0000 (0:00:00.545) 0:00:40.246 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.257303", "end": "2022-06-23 13:05:06.907255", "rc": 0, "start": "2022-06-23 13:05:06.649952" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:363 Thursday 23 June 2022 17:05:07 +0000 (0:00:00.631) 0:00:40.878 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:370 Thursday 23 June 2022 17:05:08 +0000 (0:00:00.599) 0:00:41.477 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:377 Thursday 23 June 2022 17:05:08 +0000 (0:00:00.580) 0:00:42.058 ********* ok: [/cache/rhel-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/tmpulwi5xtv/tests/tests_ansible.yml:387 Thursday 23 June 2022 17:05:09 +0000 (0:00:00.501) 0:00:42.559 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:395 Thursday 23 June 2022 17:05:10 +0000 (0:00:01.057) 0:00:43.616 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:403 Thursday 23 June 2022 17:05:10 +0000 (0:00:00.573) 0:00:44.189 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:412 Thursday 23 June 2022 17:05:12 +0000 (0:00:01.022) 0:00:45.212 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:421 Thursday 23 June 2022 17:05:13 +0000 (0:00:01.087) 0:00:46.299 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:430 Thursday 23 June 2022 17:05:14 +0000 (0:00:01.049) 0:00:47.348 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:439 Thursday 23 June 2022 17:05:14 +0000 (0:00:00.576) 0:00:47.925 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:448 Thursday 23 June 2022 17:05:15 +0000 (0:00:00.566) 0:00:48.492 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:457 Thursday 23 June 2022 17:05:16 +0000 (0:00:01.045) 0:00:49.538 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:466 Thursday 23 June 2022 17:05:17 +0000 (0:00:01.043) 0:00:50.581 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:475 Thursday 23 June 2022 17:05:18 +0000 (0:00:01.040) 0:00:51.621 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:486 Thursday 23 June 2022 17:05:19 +0000 (0:00:01.066) 0:00:52.687 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:494 Thursday 23 June 2022 17:05:20 +0000 (0:00:01.093) 0:00:53.780 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:502 Thursday 23 June 2022 17:05:21 +0000 (0:00:00.557) 0:00:54.338 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:519 Thursday 23 June 2022 17:05:22 +0000 (0:00:01.069) 0:00:55.407 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:536 Thursday 23 June 2022 17:05:22 +0000 (0:00:00.583) 0:00:55.990 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.284386", "end": "2022-06-23 13:05:22.683048", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:22.398662" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:541 Thursday 23 June 2022 17:05:23 +0000 (0:00:00.668) 0:00:56.659 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.266268", "end": "2022-06-23 13:05:23.361503", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:23.095235" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:546 Thursday 23 June 2022 17:05:24 +0000 (0:00:00.680) 0:00:57.340 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.269991", "end": "2022-06-23 13:05:24.049117", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:23.779126" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:551 Thursday 23 June 2022 17:05:24 +0000 (0:00:00.687) 0:00:58.027 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.267455", "end": "2022-06-23 13:05:24.696846", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:24.429391" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:556 Thursday 23 June 2022 17:05:25 +0000 (0:00:00.644) 0:00:58.672 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.250414", "end": "2022-06-23 13:05:25.325071", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:25.074657" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:561 Thursday 23 June 2022 17:05:26 +0000 (0:00:00.629) 0:00:59.301 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.253428", "end": "2022-06-23 13:05:25.986719", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:25.733291" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:566 Thursday 23 June 2022 17:05:26 +0000 (0:00:00.658) 0:00:59.960 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.262452", "end": "2022-06-23 13:05:26.623608", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:26.361156" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:571 Thursday 23 June 2022 17:05:27 +0000 (0:00:00.638) 0:01:00.598 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.263930", "end": "2022-06-23 13:05:27.258949", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:05:26.995019" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmpulwi5xtv/tests/tests_ansible.yml:576 Thursday 23 June 2022 17:05:28 +0000 (0:00:00.636) 0:01:01.235 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.709651", "end": "2022-06-23 13:05:28.341893", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:05:27.632242" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=81 changed=49 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 23 June 2022 17:05:29 +0000 (0:00:01.095) 0:01:02.330 ********* =============================================================================== linux-system-roles.firewall : Install firewalld ------------------------- 5.70s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:8 Gathering Facts --------------------------------------------------------- 2.36s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:1 ------------------------------------ set up internal repositories -------------------------------------------- 1.40s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- linux-system-roles.firewall : Install python3-firewall ------------------ 1.27s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/firewalld.yml:19 Ensure target ACCEPT in permanent internal zone ------------------------- 1.20s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:267 ---------------------------------- Reload firewalld -------------------------------------------------------- 1.10s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:57 ----------------------------------- Reload firewalld -------------------------------------------------------- 1.10s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:576 ---------------------------------- delete custom service --------------------------------------------------- 1.09s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:486 ---------------------------------- add short description to custom service --------------------------------- 1.09s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:412 ---------------------------------- add custom service with all the elements at once ------------------------ 1.07s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:502 ---------------------------------- add destination addresses ----------------------------------------------- 1.07s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:475 ---------------------------------- Ensure default target in permanent internal zone ------------------------ 1.07s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:285 ---------------------------------- linux-system-roles.firewall : Enable and start firewalld service -------- 1.06s /tmp/tmpulwi5xtv/tests/roles/linux-system-roles.firewall/tasks/main.yml:3 ----- add custom service without details -------------------------------------- 1.06s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:387 ---------------------------------- add source_ports to custom service -------------------------------------- 1.05s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:421 ---------------------------------- add valid protocol to custom service ------------------------------------ 1.05s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:448 ---------------------------------- remove valid protocol from customservice -------------------------------- 1.04s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:457 ---------------------------------- remove ports from custom service without deleting service --------------- 1.04s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:466 ---------------------------------- Firewalld custom zone --------------------------------------------------- 1.03s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:327 ---------------------------------- add description to custom service --------------------------------------- 1.02s /tmp/tmpulwi5xtv/tests/tests_ansible.yml:403 ---------------------------------- 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/tmprzrc8rs_ 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: rhel-8_setup.yml ***************************************************** 1 plays in /cache/rhel-8_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-8_setup.yml:5 Thursday 23 June 2022 17:09:45 +0000 (0:00:00.019) 0:00:00.019 ********* changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } changed: [/cache/rhel-8.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Thursday 23 June 2022 17:09:47 +0000 (0:00:01.335) 0:00:01.355 ********* =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_ansible.yml **************************************************** 1 plays in /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml PLAY [Ensure that the roles runs with default parameters] ********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:1 Thursday 23 June 2022 17:09:47 +0000 (0:00:00.090) 0:00:01.445 ********* ok: [/cache/rhel-8.qcow2] META: ran handlers TASK [fedora.linux_system_roles.firewall : include_tasks] ********************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:1 Thursday 23 June 2022 17:09:49 +0000 (0:00:02.171) 0:00:03.617 ********* included: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for /cache/rhel-8.qcow2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Thursday 23 June 2022 17:09:49 +0000 (0:00:00.030) 0:00:03.648 ********* ok: [/cache/rhel-8.qcow2] TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Thursday 23 June 2022 17:09:50 +0000 (0:00:00.942) 0:00:04.591 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "rc": 0, "results": [ "Installed: python3-slip-0.6.4-11.el8.noarch", "Installed: python3-slip-dbus-0.6.4-11.el8.noarch", "Installed: ipset-7.1-1.el8.x86_64", "Installed: libnetfilter_conntrack-1.0.6-5.el8.x86_64", "Installed: ipset-libs-7.1-1.el8.x86_64", "Installed: python3-nftables-1:0.9.3-25.el8.x86_64", "Installed: python3-firewall-0.9.3-13.el8.noarch", "Installed: iptables-1.8.4-22.el8.x86_64", "Installed: libnfnetlink-1.0.1-13.el8.x86_64", "Installed: iptables-ebtables-1.8.4-22.el8.x86_64", "Installed: iptables-libs-1.8.4-22.el8.x86_64", "Installed: libnftnl-1.1.5-5.el8.x86_64", "Installed: firewalld-0.9.3-13.el8.noarch", "Installed: firewalld-filesystem-0.9.3-13.el8.noarch", "Installed: nftables-1:0.9.3-25.el8.x86_64" ] } TASK [fedora.linux_system_roles.firewall : Install python-firewall] ************ task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:12 Thursday 23 June 2022 17:09:56 +0000 (0:00:05.774) 0:00:10.365 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Install python3-firewall] *********** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 Thursday 23 June 2022 17:09:56 +0000 (0:00:00.027) 0:00:10.393 ********* ok: [/cache/rhel-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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 Thursday 23 June 2022 17:09:57 +0000 (0:00:01.349) 0:00:11.743 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target dbus.socket dbus.service 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": "iptables.service nftables.service ip6tables.service ebtables.service ipset.service shutdown.target", "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": "6971", "LimitNPROCSoft": "6971", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "6971", "LimitSIGPENDINGSoft": "6971", "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": "sysinit.target system.slice dbus.socket", "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": "11153", "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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Thursday 23 June 2022 17:09:58 +0000 (0:00:01.061) 0:00:12.804 ********* ok: [/cache/rhel-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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:14 Thursday 23 June 2022 17:09:58 +0000 (0:00:00.076) 0:00:12.881 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:36 Thursday 23 June 2022 17:09:58 +0000 (0:00:00.034) 0:00:12.915 ********* TASK [fedora.linux_system_roles.firewall : gather firewall config information] *** task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:77 Thursday 23 June 2022 17:09:58 +0000 (0:00:00.036) 0:00:12.951 ********* TASK [fedora.linux_system_roles.firewall : update firewalld_config fact] ******* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:87 Thursday 23 June 2022 17:09:58 +0000 (0:00:00.034) 0:00:12.986 ********* skipping: [/cache/rhel-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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:99 Thursday 23 June 2022 17:09:58 +0000 (0:00:00.035) 0:00:13.021 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "firewall_config": { "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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:104 Thursday 23 June 2022 17:09:59 +0000 (0:00:00.679) 0:00:13.701 ********* ok: [/cache/rhel-8.qcow2] => { "ansible_facts": { "firewall_config": { "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/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:114 Thursday 23 June 2022 17:09:59 +0000 (0:00:00.074) 0:00:13.776 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:122 Thursday 23 June 2022 17:09:59 +0000 (0:00:00.033) 0:00:13.809 ********* skipping: [/cache/rhel-8.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:128 Thursday 23 June 2022 17:09:59 +0000 (0:00:00.031) 0:00:13.841 ********* skipping: [/cache/rhel-8.qcow2] => {} META: role_complete for /cache/rhel-8.qcow2 TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:14 Thursday 23 June 2022 17:09:59 +0000 (0:00:00.038) 0:00:13.879 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.256539", "end": "2022-06-23 13:09:59.555461", "failed_when_result": false, "rc": 112, "start": "2022-06-23 13:09:59.298922" } STDERR: Error: INVALID_ZONE: custom MSG: non-zero return code TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:19 Thursday 23 June 2022 17:10:00 +0000 (0:00:00.772) 0:00:14.652 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.252733", "end": "2022-06-23 13:10:00.204796", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:09:59.952063" } STDERR: Error: NO_DEFAULTS: internal MSG: non-zero return code TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:24 Thursday 23 June 2022 17:10:01 +0000 (0:00:00.645) 0:00:15.298 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.254532", "end": "2022-06-23 13:10:00.865837", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:00.611305" } STDERR: Error: NO_DEFAULTS: trusted MSG: non-zero return code TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:29 Thursday 23 June 2022 17:10:01 +0000 (0:00:00.659) 0:00:15.957 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.251715", "end": "2022-06-23 13:10:01.473874", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:01.222159" } STDERR: Error: NO_DEFAULTS: dmz MSG: non-zero return code TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:34 Thursday 23 June 2022 17:10:02 +0000 (0:00:00.612) 0:00:16.569 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.259586", "end": "2022-06-23 13:10:02.105969", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:01.846383" } STDERR: Error: NO_DEFAULTS: drop MSG: non-zero return code TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:39 Thursday 23 June 2022 17:10:02 +0000 (0:00:00.631) 0:00:17.201 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.264276", "end": "2022-06-23 13:10:02.741549", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:02.477273" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:44 Thursday 23 June 2022 17:10:03 +0000 (0:00:00.636) 0:00:17.837 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": "zone=$(firewall-cmd --get-default-zone)\nfirewall-cmd --permanent --load-zone-defaults=$zone\n", "delta": "0:00:00.493778", "end": "2022-06-23 13:10:03.607533", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:03.113755" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Create custom zone] ****************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:52 Thursday 23 June 2022 17:10:04 +0000 (0:00:00.864) 0:00:18.701 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--new-zone=custom" ], "delta": "0:00:00.253423", "end": "2022-06-23 13:10:04.233580", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:03.980157" } STDOUT: success TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:57 Thursday 23 June 2022 17:10:05 +0000 (0:00:00.627) 0:00:19.329 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.694777", "end": "2022-06-23 13:10:05.308231", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:04.613454" } STDOUT: success TASK [Permit traffic in default zone for https service] ************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:64 Thursday 23 June 2022 17:10:06 +0000 (0:00:01.074) 0:00:20.404 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Permit traffic in default zone for https service, again] ***************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:72 Thursday 23 June 2022 17:10:06 +0000 (0:00:00.671) 0:00:21.075 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Permit traffic in default zone on port 8081/tcp] ************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:80 Thursday 23 June 2022 17:10:07 +0000 (0:00:00.553) 0:00:21.629 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:88 Thursday 23 June 2022 17:10:07 +0000 (0:00:00.543) 0:00:22.172 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow port 161-162/udp in permanent default zone] ************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:96 Thursday 23 June 2022 17:10:08 +0000 (0:00:00.530) 0:00:22.703 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:104 Thursday 23 June 2022 17:10:08 +0000 (0:00:00.532) 0:00:23.235 ********* ok: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:112 Thursday 23 June 2022 17:10:09 +0000 (0:00:00.539) 0:00:23.775 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:120 Thursday 23 June 2022 17:10:10 +0000 (0:00:00.536) 0:00:24.311 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow service http in permanent dmz zone] ******************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:128 Thursday 23 June 2022 17:10:10 +0000 (0:00:00.541) 0:00:24.852 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow service http in permanent dmz zone, again] ************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:137 Thursday 23 June 2022 17:10:11 +0000 (0:00:00.547) 0:00:25.399 ********* ok: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:146 Thursday 23 June 2022 17:10:11 +0000 (0:00:00.536) 0:00:25.936 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:154 Thursday 23 June 2022 17:10:12 +0000 (0:00:00.531) 0:00:26.468 ********* ok: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:162 Thursday 23 June 2022 17:10:12 +0000 (0:00:00.551) 0:00:27.019 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:171 Thursday 23 June 2022 17:10:13 +0000 (0:00:00.555) 0:00:27.575 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone] ************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:180 Thursday 23 June 2022 17:10:13 +0000 (0:00:00.536) 0:00:28.111 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow interface eth2 in permanent trusted zone, again] ******************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:189 Thursday 23 June 2022 17:10:14 +0000 (0:00:00.563) 0:00:28.675 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone] ******************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:198 Thursday 23 June 2022 17:10:14 +0000 (0:00:00.546) 0:00:29.222 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Allow masquerading in permament dmz zone, again] ************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:206 Thursday 23 June 2022 17:10:15 +0000 (0:00:00.583) 0:00:29.805 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure permanent custom zone exists (no change)] ************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:214 Thursday 23 June 2022 17:10:16 +0000 (0:00:00.542) 0:00:30.347 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone] ********************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:222 Thursday 23 June 2022 17:10:16 +0000 (0:00:00.535) 0:00:30.882 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure ICMP block inversion in permanent drop zone, again] *************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:230 Thursday 23 June 2022 17:10:17 +0000 (0:00:00.533) 0:00:31.416 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone] ************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:238 Thursday 23 June 2022 17:10:17 +0000 (0:00:00.594) 0:00:32.010 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Block ICMP echo-request in permanent drop zone, again] ******************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:247 Thursday 23 June 2022 17:10:18 +0000 (0:00:00.566) 0:00:32.577 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone (no change)] ************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:256 Thursday 23 June 2022 17:10:18 +0000 (0:00:00.567) 0:00:33.145 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone] ************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:265 Thursday 23 June 2022 17:10:19 +0000 (0:00:00.575) 0:00:33.720 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure target ACCEPT in permanent internal zone, again] ****************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:274 Thursday 23 June 2022 17:10:20 +0000 (0:00:01.232) 0:00:34.953 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Ensure default target in permanent internal zone] ************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:283 Thursday 23 June 2022 17:10:21 +0000 (0:00:00.571) 0:00:35.525 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Ensure default target in permanent internal zone, again] ***************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:292 Thursday 23 June 2022 17:10:22 +0000 (0:00:01.067) 0:00:36.593 ********* ok: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:301 Thursday 23 June 2022 17:10:22 +0000 (0:00:00.550) 0:00:37.144 ********* changed: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:311 Thursday 23 June 2022 17:10:23 +0000 (0:00:00.571) 0:00:37.716 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Firewalld custom zone] *************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:321 Thursday 23 June 2022 17:10:23 +0000 (0:00:00.555) 0:00:38.271 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true } TASK [assert firewalld custom zone] ******************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:329 Thursday 23 June 2022 17:10:25 +0000 (0:00:01.026) 0:00:39.298 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false } MSG: All assertions passed TASK [Add masquerade to custom zone] ******************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:334 Thursday 23 June 2022 17:10:25 +0000 (0:00:00.033) 0:00:39.332 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [Add masquerade to custom zone, again] ************************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:344 Thursday 23 June 2022 17:10:25 +0000 (0:00:00.546) 0:00:39.878 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Set the default zone to something other than dmz] ************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:354 Thursday 23 June 2022 17:10:26 +0000 (0:00:00.565) 0:00:40.443 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--set-default-zone", "public" ], "delta": "0:00:00.251775", "end": "2022-06-23 13:10:25.961346", "rc": 0, "start": "2022-06-23 13:10:25.709571" } STDOUT: success STDERR: Warning: ZONE_ALREADY_SET: public TASK [set default zone] ******************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:357 Thursday 23 June 2022 17:10:26 +0000 (0:00:00.608) 0:00:41.052 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [set default zone, again] ************************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:364 Thursday 23 June 2022 17:10:27 +0000 (0:00:00.577) 0:00:41.629 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add multiple custom services] ******************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:371 Thursday 23 June 2022 17:10:27 +0000 (0:00:00.562) 0:00:42.192 ********* ok: [/cache/rhel-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/tmp4_njao04/tests/firewall/tests_ansible.yml:381 Thursday 23 June 2022 17:10:28 +0000 (0:00:00.472) 0:00:42.665 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add custom service that already exists] ********************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:389 Thursday 23 June 2022 17:10:29 +0000 (0:00:01.031) 0:00:43.696 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add description to custom service] *************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:397 Thursday 23 June 2022 17:10:29 +0000 (0:00:00.549) 0:00:44.245 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add short description to custom service] ********************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:406 Thursday 23 June 2022 17:10:30 +0000 (0:00:01.013) 0:00:45.258 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service] ************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:415 Thursday 23 June 2022 17:10:32 +0000 (0:00:01.052) 0:00:46.310 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add source_ports to custom service again] ******************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:424 Thursday 23 June 2022 17:10:33 +0000 (0:00:01.042) 0:00:47.353 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add invalid protocol to custom service] ********************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:433 Thursday 23 June 2022 17:10:33 +0000 (0:00:00.555) 0:00:47.908 ********* ok: [/cache/rhel-8.qcow2] => { "changed": false, "failed_when_result": false } MSG: INVALID_PROTOCOL: nonexistentprotocol TASK [add valid protocol to custom service] ************************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:442 Thursday 23 June 2022 17:10:34 +0000 (0:00:00.559) 0:00:48.468 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove valid protocol from customservice] ******************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:451 Thursday 23 June 2022 17:10:35 +0000 (0:00:01.064) 0:00:49.532 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [remove ports from custom service without deleting service] *************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:460 Thursday 23 June 2022 17:10:36 +0000 (0:00:01.049) 0:00:50.582 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add destination addresses] *********************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:469 Thursday 23 June 2022 17:10:37 +0000 (0:00:01.139) 0:00:51.721 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service] *************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:480 Thursday 23 June 2022 17:10:38 +0000 (0:00:01.062) 0:00:52.784 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [delete custom service again] ********************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:488 Thursday 23 June 2022 17:10:39 +0000 (0:00:01.045) 0:00:53.830 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [add custom service with all the elements at once] ************************ task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:496 Thursday 23 June 2022 17:10:40 +0000 (0:00:00.563) 0:00:54.393 ********* changed: [/cache/rhel-8.qcow2] => { "__firewall_changed": true, "changed": true, "failed_when_result": false } TASK [add helper module that already is on customservice] ********************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:513 Thursday 23 June 2022 17:10:41 +0000 (0:00:01.098) 0:00:55.492 ********* ok: [/cache/rhel-8.qcow2] => { "__firewall_changed": false, "changed": false, "failed_when_result": false } TASK [Remove custom zone] ****************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:530 Thursday 23 June 2022 17:10:41 +0000 (0:00:00.618) 0:00:56.110 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=custom" ], "delta": "0:00:00.267384", "end": "2022-06-23 13:10:41.695079", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:41.427695" } STDOUT: success TASK [Remove customzone zone] ************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:535 Thursday 23 June 2022 17:10:42 +0000 (0:00:00.680) 0:00:56.791 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--delete-zone=customzone" ], "delta": "0:00:00.255496", "end": "2022-06-23 13:10:42.340229", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:42.084733" } STDOUT: success TASK [Reset internal zone to defaults] ***************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:540 Thursday 23 June 2022 17:10:43 +0000 (0:00:00.645) 0:00:57.436 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=internal" ], "delta": "0:00:00.250127", "end": "2022-06-23 13:10:42.993979", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:42.743852" } STDOUT: success TASK [Reset trusted zone to defaults] ****************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:545 Thursday 23 June 2022 17:10:43 +0000 (0:00:00.654) 0:00:58.090 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=trusted" ], "delta": "0:00:00.289964", "end": "2022-06-23 13:10:43.652380", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:43.362416" } STDOUT: success TASK [Reset dmz zone to defaults] ********************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:550 Thursday 23 June 2022 17:10:44 +0000 (0:00:00.661) 0:00:58.752 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=dmz" ], "delta": "0:00:00.253283", "end": "2022-06-23 13:10:44.277005", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:44.023722" } STDOUT: success TASK [Reset drop zone to defaults] ********************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:555 Thursday 23 June 2022 17:10:45 +0000 (0:00:00.621) 0:00:59.373 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=drop" ], "delta": "0:00:00.250517", "end": "2022-06-23 13:10:44.890161", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:44.639644" } STDOUT: success TASK [Reset public zone to defaults] ******************************************* task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:560 Thursday 23 June 2022 17:10:45 +0000 (0:00:00.612) 0:00:59.985 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.262751", "end": "2022-06-23 13:10:45.516994", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:45.254243" } STDOUT: success TASK [Reset default zone to defaults] ****************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:565 Thursday 23 June 2022 17:10:46 +0000 (0:00:00.629) 0:01:00.615 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--permanent", "--load-zone-defaults=public" ], "delta": "0:00:00.256012", "end": "2022-06-23 13:10:46.143838", "failed_when_result": false, "rc": 22, "start": "2022-06-23 13:10:45.887826" } STDERR: Error: NO_DEFAULTS: public MSG: non-zero return code TASK [Reload firewalld] ******************************************************** task path: /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:570 Thursday 23 June 2022 17:10:46 +0000 (0:00:00.624) 0:01:01.239 ********* changed: [/cache/rhel-8.qcow2] => { "changed": true, "cmd": [ "firewall-cmd", "--reload" ], "delta": "0:00:00.708168", "end": "2022-06-23 13:10:47.217304", "failed_when_result": false, "rc": 0, "start": "2022-06-23 13:10:46.509136" } STDOUT: success META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8.qcow2 : ok=81 changed=49 unreachable=0 failed=0 skipped=8 rescued=0 ignored=0 Thursday 23 June 2022 17:10:48 +0000 (0:00:01.084) 0:01:02.323 ********* =============================================================================== fedora.linux_system_roles.firewall : Install firewalld ------------------ 5.77s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:7 Gathering Facts --------------------------------------------------------- 2.17s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:1 --------------------------- fedora.linux_system_roles.firewall : Install python3-firewall ----------- 1.35s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:18 set up internal repositories -------------------------------------------- 1.34s /cache/rhel-8_setup.yml:5 ----------------------------------------------------- Ensure target ACCEPT in permanent internal zone ------------------------- 1.23s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:265 ------------------------- remove ports from custom service without deleting service --------------- 1.14s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:460 ------------------------- add custom service with all the elements at once ------------------------ 1.10s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:496 ------------------------- Reload firewalld -------------------------------------------------------- 1.08s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:570 ------------------------- Reload firewalld -------------------------------------------------------- 1.07s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:57 -------------------------- Ensure default target in permanent internal zone ------------------------ 1.07s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:283 ------------------------- add valid protocol to custom service ------------------------------------ 1.06s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:442 ------------------------- add destination addresses ----------------------------------------------- 1.06s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:469 ------------------------- fedora.linux_system_roles.firewall : Enable and start firewalld service --- 1.06s /tmp/tmprzrc8rs_/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:3 add short description to custom service --------------------------------- 1.05s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:406 ------------------------- remove valid protocol from customservice -------------------------------- 1.05s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:451 ------------------------- delete custom service --------------------------------------------------- 1.05s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:480 ------------------------- add source_ports to custom service -------------------------------------- 1.04s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:415 ------------------------- add custom service without details -------------------------------------- 1.03s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:381 ------------------------- Firewalld custom zone --------------------------------------------------- 1.03s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:321 ------------------------- add description to custom service --------------------------------------- 1.01s /tmp/tmp4_njao04/tests/firewall/tests_ansible.yml:397 -------------------------