June 2020
Intermediate to advanced
410 pages
9h 52m
English
Now that Ansible is able to connect to your Azure environment, you can proceed with the actual Playbook:
---- hosts: localhost tasks: - name: Ensure the Storage Account is present azure_rm_storageaccount: resource_group: Testing name: mysa account_type: Standard_LRS - name: Ensure the Virtual Network is present azure_rm_virtualnetwork: resource_group: Testing name: myvn address_prefixes: "10.10.0.0/16" - name: Ensure the Subnet is present azure_rm_subnet: resource_group: Testing name: mysn address_prefix: "10.10.0.0/24" virtual_network: myvn - name: Ensure that the Public IP is set azure_rm_publicipaddress: resource_group: Testing allocation_method: Static ...