robertdebock.azure_cli

Ansible 角色 azure_cli

在您的系统上安装和配置 azure_cli。

GitHub GitLab 下载 版本
github gitlab downloads 版本

示例剧本

此示例取自 molecule/default/converge.yml,在每次推送、拉取请求和发布时进行测试。

---
- name: Converge
  hosts: all
  become: true
  gather_facts: true

  roles:
    - role: robertdebock.azure_cli

机器需要提前准备。在 CI 中使用 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

另请查看 完整说明和示例 了解如何使用这些角色。

要求

使用角色的状态

以下角色用于准备系统。您可以用其他方法准备您的系统。

要求 GitHub GitLab
robertdebock.bootstrap 构建状态 GitHub 构建状态 GitLab
robertdebock.buildtools 构建状态 GitHub 构建状态 GitLab
robertdebock.epel 构建状态 GitHub 构建状态 GitLab
robertdebock.microsoft_repository_keys 构建状态 GitHub 构建状态 GitLab
robertdebock.python_pip 构建状态 GitHub 构建状态 GitLab

上下文

此角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档

以下是相关角色的概述: dependencies

兼容性

此角色已在以下 容器镜像 中测试:

容器 标签
Alpine all
EL 9
Debian bullseye
Fedora all
Ubuntu all

所需的 Ansible 最低版本为 2.12,测试已完成:

  • 之前的版本
  • 当前版本
  • 开发版本

如果您发现问题,请在 GitHub 中注册。

许可证

Apache-2.0

作者信息

robertdebock

请考虑 赞助我

关于项目

Install and configure azure_cli on your system.

安装
ansible-galaxy install robertdebock.azure_cli
许可证
apache-2.0
下载
530
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.