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
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

State of Used Roles

The following roles help prepare your system. You can also use different methods for preparation.

Requirement GitHub GitLab
robertdebock.bootstrap Build Status GitHub Build Status GitLab
robertdebock.buildtools Build Status GitHub Build Status GitLab
robertdebock.epel Build Status GitHub Build Status GitLab
robertdebock.microsoft_repository_keys Build Status GitHub Build Status GitLab
robertdebock.python_pip Build Status GitHub Build Status GitLab

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: dependencies

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.

Informazioni sul progetto

Install and configure azure_cli on your system.

Installa
ansible-galaxy install robertdebock.azure_cli
Licenza
apache-2.0
Download
530
Proprietario
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.