added option to configure Azure Cloud demos
This commit is contained in:
22
roles/install_demo/tasks/azure_cred.yml
Normal file
22
roles/install_demo/tasks/azure_cred.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
- name: add azure credential
|
||||
tower_credential:
|
||||
name: azure credential
|
||||
description: Azure Service Principle
|
||||
organization: "{{ vars[demo].project.organization }}"
|
||||
state: present
|
||||
kind: azure_rm
|
||||
subscription: "{{ my_subcription }}"
|
||||
tenant: "{{ my_tenant }}"
|
||||
client: "{{ my_client }}"
|
||||
secret: "{{ my_secret }}"
|
||||
tower_username: "{{ my_tower_username }}"
|
||||
tower_password: "{{ my_tower_password }}"
|
||||
tower_host: "{{ my_tower_host }}"
|
||||
|
||||
- name: setting the new azure cred to cloud cred var
|
||||
my_cloud_cred: azure credential
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user