Playground of azure IAC + Ansible
- Locally:
- Change the value of
source_address_prefix
inazure-iac\terraform\terraform.tfvars
- example:
source_address_prefix = "192.168.1.2/32"
- example:
- Change the ip of
ansible_host
inazure-iac\terraform\ansible\inventory.yaml
- example:
ansible_host: 1.2.3.4
- example:
- Change the value of
- VM:
- Run the following script as Powershell (Administrator)