Guillaume Coré
2018-11-20 82dde92b7a57244f27f1eac9334e918168146b6a
refs
author Guillaume Coré <gucore@redhat.com>
Tuesday, November 20, 2018 12:13 +0100
committer Guillaume Coré <gucore@redhat.com>
Tuesday, November 20, 2018 12:13 +0100
commit82dde92b7a57244f27f1eac9334e918168146b6a
tree eaf8f8323a457bf1317cbee0385e51c333ec0c44 tree | zip | gz
parent a05a62e09c53f195e9c8c5fe481089f33f27e7c0 view | diff
Introduce custom_image_filter variable

Allow this simple usecase:
- create a common RHEL gold images and use it

When deploying, user only provides the name of image to look for.

- if the image exists: use it
- if the image does not exist: default to CF template

custom_image_filter is a lower priority than 'custom_image_stage' which detect
images that are specific to the tuple (env_type, version, stage).
3 files added
1 files modified
94 ■■■■ changed files
ansible/roles/infra-ec2-template-create/tasks/detect_custom_images.yml 33 ●●●● diff | view | raw | blame | history
ansible/roles/infra-ec2-template-create/tasks/select_custom_image.yml 18 ●●●●● diff | view | raw | blame | history
builds/packer/readme.adoc 23 ●●●●● diff | view | raw | blame | history
builds/packer/rhel_gold.json 20 ●●●●● diff | view | raw | blame | history