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:
16
roles/install_demo/tasks/unsupported_cloud.yml
Normal file
16
roles/install_demo/tasks/unsupported_cloud.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- name: public cloud not supported
|
||||
debug:
|
||||
msg: "there is no public cloud credentials for this install, installing dummy creds"
|
||||
|
||||
- name: add azure credential
|
||||
tower_credential:
|
||||
name: azure_credential
|
||||
description: Azure Service Principle
|
||||
organization: "{{ vars[demo].project.organization }}"
|
||||
state: present
|
||||
kind: azure_rm
|
||||
subscription: "please replace me"
|
||||
tower_username: "{{ my_tower_username }}"
|
||||
tower_password: "{{ my_tower_password }}"
|
||||
tower_host: "{{ my_tower_host }}"
|
||||
validate_certs: false
|
||||
Reference in New Issue
Block a user