diff options
author | Monty Taylor <mordred@inaugust.com> | 2017-11-05 13:24:37 +1100 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2017-11-05 17:07:06 +1100 |
commit | 4ac60cf090af9618bd52b4b30cac4ee31b5d5967 (patch) | |
tree | 7dda33747456c3b806d25c4318bef9b717f8aa3e /src/three-minute-demo/roles/get-cloud-config | |
parent | 2f5dfc495113c6dadf66fc7d5d395f90118514ca (diff) |
Add ansible playbooks for 3 minute multi-cloud demo
Diffstat (limited to 'src/three-minute-demo/roles/get-cloud-config')
-rw-r--r-- | src/three-minute-demo/roles/get-cloud-config/tasks/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/three-minute-demo/roles/get-cloud-config/tasks/main.yaml b/src/three-minute-demo/roles/get-cloud-config/tasks/main.yaml new file mode 100644 index 0000000..e6f5ecd --- /dev/null +++ b/src/three-minute-demo/roles/get-cloud-config/tasks/main.yaml | |||
@@ -0,0 +1,6 @@ | |||
1 | - name: Grab OpenStack cloud config from clouds.yaml | ||
2 | os_client_config: | ||
3 | |||
4 | - name: Get list of needed image formats | ||
5 | set_fact: | ||
6 | image_formats: "{{ openstack.clouds|json_query('[*].image_format') | unique }}" | ||