In this recipe, we will outline how to build an Ansible inventory to describe the network infrastructure setup that we will build across the Azure public cloud. This is a necessary step as we will define all of our virtual networks across all of the regions in which we will deploy our infrastructure.
- Create the hosts file inside the ch8_Azure directory with the following data:
$ cat hosts
- Create the Ansible.cfg file with the following content:
$ cat Ansible.cfg
- Create the group_var folder and the eu.yml and us.yml...