d6ae964f47
Fstrings are not supported in python3.5 which is in use on Xenial. We don't claim to support Xenial, but this is an easy regression to avoid. Also, add test jobs for this role so that we get feedback before copying it to the prod roles. Also, add a xenial test job to exercise it since we still have Xenial nodes available. Change-Id: Ifc773aa688adb1a01cfe691b3bdca0b3086658cd
15 lines
583 B
YAML
15 lines
583 B
YAML
- name: Test the validate-host role
|
|
pre_tasks:
|
|
# NOTE(pabelanger): Until we hit the validate-host role, we have a minimal
|
|
# set of ansible variables collected by zuul-executor. This doesn't include
|
|
# network variables (ansible_default_ipv4 / ansible_default_ipv6) so gather
|
|
# these variables as they are important to the configure-unbound role.
|
|
- name: Gather network facts
|
|
setup:
|
|
gather_subset: 'network'
|
|
hosts: all
|
|
roles:
|
|
- role: validate-host
|
|
zuul_site_traceroute_host: files.openstack.org
|
|
validate_host_hostname: "abc/123"
|