《Ansible快速入门》实体书资源

获取本书免费章节

  1. Google《Ansible入门》,第一个链接是Gitbook上《Ansible入门》即为本书的免费章节。
  2. 访问网站 http://getansible.com

本书中的样例代码

所有的代码均分章节放在github账户下

https://github.com/ansible-book

其中Ansible Tower章节,因为其使用方法的特殊性,有多个项目,每个项目均以tower-example*开头。

书中的链接列表

《Ansible入门》章节

  1. 提供json和yml互转的在线网站 http://www.json2yaml.com/

  2. Ansible Module的在线文档 http://docs.ansible.com/ansible/modules_by_category.html

《Ansible进阶》章节

  1. 在线查看ansible.cfg文件 https://raw.githubusercontent.com/ansible/ansible/devel/examples/ansible.cfg

  2. ansible配置文件里面关键词解释列表 http://docs.ansible.com/ansible/intro_configuration.html#explanation-of-values-by-section

  3. Inventory中所有的连接参数的列表和解释 http://docs.ansible.com/ansible/intro_inventory.html#list-of-behavioral-inventory-parameters

  4. 完整的copy module的代码 https://github.com/ansible/ansible-modules-core/blob/devel/files/copy.py

  5. Ansible Galaxy网址 https://galaxy.ansible.com/

  6. Ansible Module在线文档 http://docs.ansible.com/ansible/modules_by_category.html

  7. Ansible官方提供的Playbook的例子 https://github.com/ansible/ansible-examples

《Ansible Playbook杂谈》章节

  1. Jinja2自带的filter文档地址 http://jinja.pocoo.org/docs/2.9/templates/#builtin-filters

  2. Ansible所有filter的使用代码示例 https://github.com/ansible-book/playbook-examples-chapter4-ansible-playbook-unclassified-topic/tree/master/03_filter

  3. Jinja2自带的tests文档地址 http://jinja.pocoo.org/docs/2.9/templates/#builtin-tests

《Ansible Tower》章节

  1. Ansible Tower下载地址 https://releases.ansible.com/ansible-tower/setup-bundle/

  2. Ansible官方文档对安装Ansible Tower硬件的全部要求 http://docs.ansible.com/ansible-tower/3.0.3/html/installandreference/requirements_refguide.html#ir-requirements

  3. 申请Ansible Tower License的地址 https://www.ansible.com/license

  4. Ansible官网中的Ansible Tower中Credential 类型的解释 http://docs.ansible.com/ansible-tower/latest/html/userguide/credentials.html#credential-types

  5. 所有的Ansible Connection类型的解释 http://docs.ansible.com/ansible/intro_inventory.html#non-ssh-connection-types