fix issue when there is no credentials applied

will need to add more dummy for aws and gcp when we add more public cloud demos
This commit is contained in:
Sean Cavanaugh
2020-12-15 10:32:52 -05:00
parent 501cd9f630
commit 68e8325638
3 changed files with 23 additions and 11 deletions

View File

@@ -20,10 +20,11 @@
- "demo must be defined and be one of: {{ demo_list }}"
- "full list can be found on https://github.com/ansible/product-demos"
# - name: install Azure cred
# include_tasks: azure_cred.yml
# when:
# - azure_demo == True
- name: setup public cloud credentials
include_tasks: "{{item}}"
with_first_found:
- "{{role_path}}/tasks/{{public_cloud}}.yml"
- "{{role_path}}/tasks/unsupported_cloud.yml"
- name: install all job templates
include_tasks: job_template_loop.yml