robertdebock.core_dependencies
Ansible 角色 核心依赖
安装依赖以支持 Ansible 核心模块。
GitHub | GitLab | 下载 | 版本 |
---|---|---|---|
示例剧本
这个示例来自 molecule/default/converge.yml
,并在每次推送、拉取请求和发布时进行测试。
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.core_dependencies
机器需要准备好。在 CI 中,这是通过 molecule/default/prepare.yml
来完成的:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
有关如何使用这些角色的 详细说明和示例。
要求
- 在 requirements.txt 中列出的 pip 包。
使用的角色状态
以下角色用于准备系统。您可以使用其他方式准备系统。
需求 | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap |
上下文
这个角色是许多兼容角色的一部分。有关更多信息,请查看 这些角色的文档。
以下是相关角色的概述:
兼容性
该角色已在以下 容器镜像 上进行测试:
容器 | 标签 |
---|---|
Alpine | 所有 |
Amazon | 候选 |
EL | 9 |
Debian | 所有 |
Fedora | 所有 |
Ubuntu | 所有 |
所需的最低 Ansible 版本是 2.12,已进行以下测试:
- 之前的版本。
- 当前版本。
- 开发版本。
如果您发现问题,请在 GitHub 上提交问题。
许可证
作者信息
请考虑 赞助我。
安装
ansible-galaxy install robertdebock.core_dependencies
许可证
apache-2.0
下载
1.1M
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.