From d76294e5827a4b2f16046dfba5ec8d46f5487122 Mon Sep 17 00:00:00 2001 From: willtome Date: Mon, 14 Feb 2022 15:23:03 -0500 Subject: [PATCH] add azure demo --- azure/setup.yml | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/azure/setup.yml b/azure/setup.yml index c4f2400..151b98c 100644 --- a/azure/setup.yml +++ b/azure/setup.yml @@ -1,10 +1,15 @@ --- -controller_validate_certs: false +user_message: | + Be sure to update the public_key extra_var on the 'Azure RHEL 8 VM' Template + The Azure Infrastructure credential must be updated with your service principal credentials to access Azure API azure_public_key: undef controller_components: - projects - credentials + - inventories + - inventory_sources - job_templates + - schedules controller_projects: - name: Azure Repo @@ -20,6 +25,29 @@ controller_credentials: inputs: subscription: REPLACEME +controller_inventories: + - name: Workshop Inventory + +controller_inventory_sources: + - name: Azure Inventory + source: Microsoft Azure Resource Manager + credential: Azure Infrastructure + overwrite: true + update_on_launch: true + source_vars: + include_vm_resource_groups: + - ansible_test + + hostnames: + - computer_name + - default + + keyed_groups: + - prefix: azure_loc + key: location + - prefix: azure_os + key: os_profile.system + controller_templates: - name: "AZURE / RHEL 8 VM" job_type: run