参考资料
本篇汇总查参数、找示例、跟版本变更时最常去的官方与社区资源。
官方文档
| 资源 | 链接 | 说明 |
|---|---|---|
| Ansible Community Documentation | docs.ansible.com | 官方文档总站,入门、Playbook 指南、配置参考都从这里进 |
| ansible-core 文档 | docs.ansible.com/ansible/latest | ansible-core 主文档,左上角可切换到 2.16/2.17 等具体版本 |
| 模块索引 | 模块与插件索引 | 按集合和字母检索全部模块,查参数和示例的第一入口 |
| 配置项参考 | Ansible Configuration Settings | ansible.cfg 全部配置键的默认值、INI 键名与环境变量对照 |
| Best Practices | Ansible tips and tricks | 官方最佳实践:目录布局、变量组织、任务写法约定 |
| Porting Guides | Ansible Porting Guides | 各版本的行为变更与废弃清单,升级 ansible-core 前必看 |
社区资源
| 资源 | 链接 | 说明 |
|---|---|---|
| Ansible Galaxy | galaxy.ansible.com | 社区 role 与 collection 市场,即 ansible-galaxy install 的默认源 |
| GitHub 仓库 | ansible/ansible | ansible-core 源码与 issue 跟踪,模块行为有疑问时直接读源码最准确 |
| Ansible Forum | forum.ansible.com | 官方社区论坛,发布版本公告,也可提问讨论 |
| Ansible Blog | ansible.com/blog | 官方博客,新特性介绍与案例文章 |