In this recipe, we will outline how to create the credentials required to programmatically authenticate to our Azure account from Ansible. We will also learn how to secure those credentials using Ansible Vault. This step is required in order to be able to run any Ansible modules in the following recipes.
Authenticating to your Azure account
Getting ready
The Ansible controller must have internet access and the Ansible inventory must be set up as outlined in the previous recipe. The user performing these steps must have administrative access to the Azure portal to be able to create the required resources that will enable programmatic interaction with the Azure APIs.