ukinimod / ansible-azure-cli

This installs the Azure CLI 2.0 via pip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure-CLI

Build Status

This role installs the Azure CLI on a CentOS/RHEL/Ubuntu maschine using python pip. The CLI needs python > 3 so we need to install the SCL python version.

Variables

  • installation_method: Install as 'rpm' or 'apt* or via 'pip'. Defaults to 'rpm'
  • scl_python_version: Version of SCL python, defaults to 35 (only used with pip installation method)
  • upgrade_azure_cli: Call pip with --upgrade. Default to false (only used with pip installation method)

Usage

Example playbook:

- hosts: all
  roles:
    - role: angrox.azure-cli

About

This installs the Azure CLI 2.0 via pip


Languages

Language:Shell 100.0%