asc.core.core role – This role deploys the main components of the core infrastructure.
Note
This role is part of the asc.core collection (version 1.0.4).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: git clone git@ssh.dev.azure.com:v3/cloudasc/iac-ansible-collections/core $HOME/.ansible/collections/ansible_collections/asc/core.
To use it in a playbook, specify: asc.core.core.
Entry point main – This role deploys the main components of the core infrastructure.
New in asc.core 1.0.0
Synopsis
This role deploys the main components of the core infrastructure.
It can either generate new terraform configuration files or configure the systems using Ansible.
It can also run ‘terraform plan’, ‘terraform apply’ and ‘terraform destroy’.
Parameters
Parameter |
Comments |
|---|---|
SSH public key to use for the admin user on all systems |
|
Name of the admin user on all systems Default: |
|
Environment the deployed resources will be tagged with (p: prod, d: dev, t: training, e: demo) Choices:
|
|
Azure location (region) to deploy the resources to Default: |
|
Name of the environment to deploy |
|
Internal domain name to use for the deployed resources Default: |
|
Path to use for temporary files on Linux systems Default: |
|
Email address(es) of the person to contact in case of issues with the Azure resources |
|
Azure subscription ID to deploy the resources to |
|
Team code to tag Azure resources (cf. https://eysbp.visualstudio.com/ADV-ASC/_git/asc-cloud-wiki?path=%2FPlatform-Standards%2FNaming-Convention%2FTeams.md) |
|
Azure tenant ID to deploy the resources to Default: |
|
Wether to run ‘terraform apply’ or not Choices:
|
|
If ‘true’, generates new terraform configuration files, otherwise will use the existing ones Choices:
|
|
Wether to run ‘terraform destroy’ or not Choices:
|
|
The directory where the terraform configuration files are located (relative to the deployment folder) Default: |
|
Wether to run ‘terraform plan’ or not. (implied if ‘terraform_apply’ or ‘terraform_destroy’ is ‘true’) Choices:
|
|
Dictionary of remote state configuration to use for the terraform deployment. If not specified, the remote state will be stored locally. |
|
Azure storage container name to use for the remote state |
|
If ‘true’, the remote state will be enabled Choices:
|
|
Key to use for the remote state Default: |
|
Azure resource group name to use for the remote state |
|
Azure storage account name to use for the remote state |
|
Azure subscription ID to use for the remote state Default: |
|
Azure tenant ID to use for the remote state Default: |
|
Timezone to use for the deployed resources Default: |
|
Path to use for temporary files on Windows systems Default: |