add azure
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
---
|
||||
vm_blueprint_providers:
|
||||
- aws
|
||||
- azure
|
||||
aws_image_filter: 'Windows_Server-2019-English-Core-Base*'
|
||||
aws_instance_size: t3.medium
|
||||
aws_userdata_template: aws_windows_userdata
|
||||
aws_userdata_template: aws_windows_userdata
|
||||
az_vm_os_type: Windows
|
||||
az_vm_size: Standard_DS1_v2
|
||||
az_vm_image:
|
||||
offer: WindowsServer
|
||||
publisher: MicrosoftWindowsServer
|
||||
sku: 2022-Datacenter
|
||||
version: latest
|
||||
@@ -12,4 +12,4 @@
|
||||
include_role:
|
||||
name: "demo.cloud.aws"
|
||||
tasks_from: destroy_vm
|
||||
when: "'cloud_aws' in group_names"
|
||||
when: "'cloud_aws' in group_names or 'cloud_azure' in group_names"
|
||||
@@ -35,6 +35,23 @@ controller_inventory_sources:
|
||||
- key: platform
|
||||
prefix: os
|
||||
|
||||
- name: Azure Inventory
|
||||
organization: Default
|
||||
source: azure_rm
|
||||
inventory: Workshop Inventory
|
||||
credential: Azure
|
||||
overwrite: true
|
||||
source_vars:
|
||||
hostnames:
|
||||
- tags.Name
|
||||
- default
|
||||
keyed_groups:
|
||||
- key: os_profile.system
|
||||
prefix: os
|
||||
groups:
|
||||
cloud_azure: true
|
||||
|
||||
|
||||
controller_templates:
|
||||
- name: Cloud / Create Infra
|
||||
job_type: run
|
||||
@@ -58,6 +75,7 @@ controller_templates:
|
||||
required: true
|
||||
choices:
|
||||
- aws
|
||||
- azure
|
||||
- question_name: AWS Public Key (only required for aws provider)
|
||||
type: textarea
|
||||
required: false
|
||||
@@ -93,6 +111,7 @@ controller_templates:
|
||||
required: true
|
||||
choices:
|
||||
- aws
|
||||
- azure
|
||||
- question_name: Blueprint
|
||||
type: multiplechoice
|
||||
variable: vm_blueprint
|
||||
|
||||
Reference in New Issue
Block a user