robertdebock.container_docs
Ansible 角色 container_docs
更改软件包管理器配置以安装文档和手册页。
GitHub | GitLab | 下载次数 | 版本 |
---|---|---|---|
示例剧本
此示例取自 molecule/default/converge.yml
,在每次推送、拉取请求和发布时进行测试。
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.container_docs
机器需要准备好。在 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.container_docs
许可证
apache-2.0
下载
86.1k
拥有者
I know my way around (Linux) infrastructure, have a passion for automation, Docker, Ansible, Molecule and ci/cd.