summaryrefslogtreecommitdiff
path: root/src/three-minute-demo/roles/get-cloud-config/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'src/three-minute-demo/roles/get-cloud-config/tasks')
-rw-r--r--src/three-minute-demo/roles/get-cloud-config/tasks/main.yaml6
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 }}"