This repository contains examples and best practices for building Ansible Playbooks for Azure.
Azure Account. If you don't have it, get a free one.
To authenticate with Azure, generate service principal and expose them as environment variables or store them as a file.
To run samples in your local environment, please ensure Ansible is installed.
1. git clone https://github.com/Azure-Samples/ansible-playbooks.git 2. cd ansible-playbooks 3. ansible-playbook <sample>.yml
You also could develop your Ansible playbook and run it in Visual Sutdio Code.
See Ansible Galaxy for example roles from the Ansible community for deploying many popular applications.