kayobe/ansible/container-image-builders-check.yml
Mark Goddard 19614e9491 Add an ansible group for container image builders
Hosts in this group are used to build container images for both the seed and
overcloud hosts.

We also rename various overcloud image related variables from controller* to
overcloud*.
2017-11-21 17:50:32 +00:00

13 lines
430 B
YAML

---
- name: Ensure the container-image-builders group exists
hosts: localhost
gather_facts: False
tasks:
- name: Ensure the container-image-builders group exists
fail:
msg: >
Container images are now built by hosts in the
container-image-builders group. Ensure that this group is present in
your inventory.
when: groups.get('container-image-builders', []) | length == 0