robertdebock.azure_cli
Ansible Role Azure CLI
This guide explains how to install and set up Azure CLI on your system.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
The following playbook example helps you understand how to use the role. It can be found at molecule/default/converge.yml
. It is tested every time the code is updated.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.azure_cli
To set up the machine beforehand, you can use this preparation script located at molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
- role: robertdebock.epel
- role: robertdebock.buildtools
- role: robertdebock.python_pip
- role: robertdebock.microsoft_repository_keys
For more details, refer to the full explanation and example on using these roles.
Requirements
- You need to install the pip packages listed in requirements.txt.
State of Used Roles
The following roles help prepare your system. You can also use different methods for preparation.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap | ||
robertdebock.buildtools | ||
robertdebock.epel | ||
robertdebock.microsoft_repository_keys | ||
robertdebock.python_pip |
Context
This role works with many other compatible roles. Check the documentation for these roles for more information.
Here's a visual overview of related roles:
Compatibility
This role has been tested with the following container images:
Container | Tags |
---|---|
Alpine | all |
EL | 9 |
Debian | bullseye |
Fedora | all |
Ubuntu | all |
You need at least Ansible version 2.12. Tests are done with:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
License
This project is licensed under Apache-2.0.
Author Information
Created by robertdebock.
If you appreciate my work, please consider sponsoring me.
ansible-galaxy install robertdebock.azure_cli