Commit b4fc540d authored by ale's avatar ale
Browse files

Merge branch 'fix/testbed_doesnt_have_ipv6' into 'master'

Filter out missing ip6

See merge request !121
parents 90fd50ca 5acf903f
......@@ -106,7 +106,7 @@ modules:
tls_config:
insecure_skip_verify: true
{% set ip4_hosts = groups['frontend'] | map('extract', hostvars) | map(attribute='ip') %}
{% set ip4_hosts = groups['frontend'] | map('extract', hostvars, 'ip') %}
dns_frontend_a:
prober: dns
timeout: 10s
......@@ -131,7 +131,7 @@ modules:
fail_if_not_matches_regexp:
- "^accounts\\.autistici\\.org\\.\\t\\d+\\tIN\\tCNAME\\twww\\.l\\.autistici\\.org\\.$"
{% set ip6_hosts = groups['frontend'] | map('extract', hostvars) | map(attribute='ip6') %}
{% set ip6_hosts = groups['frontend'] | map('extract', hostvars, 'ip6') | reject('undefined') %}
{% if ip6_hosts %}
dns_frontend_aaaa:
prober: dns
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment