Compare commits
3 Commits
main
...
azure-fino
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9de62447f | ||
|
|
fc5bd80353 | ||
|
|
6c8507d21b |
@@ -14,6 +14,12 @@ controller_projects:
|
||||
wait: true
|
||||
scm_url: https://github.com/ansible-content-lab/aws.infrastructure_config_demos.git
|
||||
default_environment: Cloud Services Execution Environment
|
||||
- name: Shadowman Lab - Azure
|
||||
organization: Default
|
||||
scm_type: git
|
||||
wait: true
|
||||
scm_url: https://github.com/shadowman-lab/Ansible-Azure.git
|
||||
default_environment: Cloud Services Execution Environment
|
||||
|
||||
controller_credentials:
|
||||
- name: AWS
|
||||
@@ -25,6 +31,17 @@ controller_credentials:
|
||||
username: REPLACEME
|
||||
password: REPLACEME
|
||||
|
||||
- name: AZURE
|
||||
credential_type: Microsoft Azure Resource Manager
|
||||
organization: Default
|
||||
update_secrets: false
|
||||
state: exists
|
||||
inputs:
|
||||
client: REPLACEME
|
||||
password: REPLACEME
|
||||
tenant: REPLACEME
|
||||
subscription: REPLACEME
|
||||
|
||||
# - name: Azure
|
||||
# credential_type: Microsoft Azure Resource Manager
|
||||
# organization: Default
|
||||
@@ -56,6 +73,29 @@ controller_inventory_sources:
|
||||
- key: tags.owner
|
||||
prefix: owner
|
||||
|
||||
- name: Azure Inventory
|
||||
organization: Default
|
||||
source: azure_rm
|
||||
inventory: Demo Inventory
|
||||
credential: AZURE
|
||||
overwrite: true
|
||||
#source_vars:
|
||||
# hostnames:
|
||||
# - tag:Name
|
||||
# compose:
|
||||
# ansible_host: public_ip_address
|
||||
# ansible_user: 'ec2-user'
|
||||
# groups:
|
||||
# cloud_aws: true
|
||||
# os_linux: tags.blueprint.startswith('rhel')
|
||||
# keyed_groups:
|
||||
# - key: platform
|
||||
# prefix: os
|
||||
# - key: tags.blueprint
|
||||
# prefix: blueprint
|
||||
# - key: tags.owner
|
||||
# prefix: owner
|
||||
|
||||
# - name: Azure Inventory
|
||||
# organization: Default
|
||||
# source: azure_rm
|
||||
@@ -456,6 +496,40 @@ controller_templates:
|
||||
variable: _hosts
|
||||
required: true
|
||||
|
||||
- name: "Cloud / Azure / Create Instance"
|
||||
job_type: run
|
||||
inventory: "Demo Inventory"
|
||||
project: "Shadowman Lab - Azure"
|
||||
playbook: "azure_create_instance.yml"
|
||||
credentials:
|
||||
- AWS
|
||||
notification_templates_started: Telemetry
|
||||
notification_templates_success: Telemetry
|
||||
notification_templates_error: Telemetry
|
||||
|
||||
- name: "Cloud / Azure / Create Storage Account"
|
||||
job_type: run
|
||||
inventory: "Demo Inventory"
|
||||
project: "Shadowman Lab - Azure"
|
||||
playbook: "azure_create_instance.yml"
|
||||
credentials:
|
||||
- AWS
|
||||
notification_templates_started: Telemetry
|
||||
notification_templates_success: Telemetry
|
||||
notification_templates_error: Telemetry
|
||||
survey_enabled: true
|
||||
extra_vars:
|
||||
storage_account_names: demorh
|
||||
survey:
|
||||
name: ''
|
||||
description: ''
|
||||
spec:
|
||||
- question_name: Resource Group Name
|
||||
type: text
|
||||
variable: resource_group_name
|
||||
required: false
|
||||
|
||||
|
||||
controller_workflows:
|
||||
- name: Deploy Cloud Stack in AWS
|
||||
description: A workflow to deploy a cloud stack
|
||||
|
||||
Reference in New Issue
Block a user