add azure inventory

This commit is contained in:
willtome
2024-06-20 13:45:05 -04:00
parent 40807f1eab
commit 6c8507d21b

View File

@@ -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,17 @@ controller_templates:
variable: _hosts
required: true
- name: "Cloud / Azure / Inventory Output"
job_type: run
inventory: "Demo Inventory"
project: "Ansible official demo project"
playbook: "inventory_output.yml"
credentials:
- AWS
notification_templates_started: Telemetry
notification_templates_success: Telemetry
notification_templates_error: Telemetry
controller_workflows:
- name: Deploy Cloud Stack in AWS
description: A workflow to deploy a cloud stack