# Ansible HandBook

- **[Установка Ansible](https://docs.ansible.com/projects/ansible-core/devel/installation_guide/installation_distros.html#installing-ansible-on-ubuntu) <span style="color: rgb(22, 145, 121);">[+Pip](https://docs.ansible.com/projects/ansible/latest/installation_guide/intro_installation.html#pip-install)</span>**
- <span style="color: rgb(53, 152, 219);">**[Ansible CLI CheatSheet](https://docs.ansible.com/projects/ansible-core/devel/command_guide/cheatsheet.html)**</span>
- <span style="color: rgb(185, 106, 217);">**[Ansible Master Setup](https://wiki-docs.ru/books/ansible/page/ansible-masterclient-setup "Ansible Master Setup")**</span>
- <span style="color: rgb(53, 152, 219);">**<span style="color: rgb(132, 63, 161);">[Ansible-playbook CLI-flags](https://docs.ansible.com/projects/ansible-core/devel/cli/ansible-playbook.html)</span>**</span>
- <span style="color: rgb(53, 152, 219);">**<span style="color: rgb(132, 63, 161);">[Ansible Ad-hoc Commands](https://docs.ansible.com/projects/ansible/latest/command_guide/intro_adhoc.html)</span>**</span>
- [**Ansible Modules**](https://docs.ansible.com/projects/ansible-core/devel/collections/index_module.html#index-of-all-modules)

##### <span style="color: rgb(53, 152, 219);">Ansible Advanced Tools</span>

<table border="1" id="bkmrk-ansible-roles-%26-depe" style="border-collapse: collapse; width: 56.3095%; height: 533.453px;"><tbody><tr style="height: 84.1719px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 84.1719px;">**Ansible Roles &amp; Dependencies**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 84.1719px;">**[Roles](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html)**

**[Role Dependencies](https://docs.ansible.com/ansible/latest/user_guide/playbooks_reuse_roles.html#role-dependencies)**

**[Ansible Galaxy](https://docs.ansible.com/projects/galaxy-ng/en/latest/community/userguide.html#ansible-core-cli-setup) [<span style="color: rgb(22, 145, 121);">+Collections</span>](https://galaxy.ansible.com/ui/collections/)**

</td></tr><tr style="height: 61.7812px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 61.7812px;">**Security &amp; Code Quality**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 61.7812px;">**[Ansible Vault](https://docs.ansible.com/ansible/latest/user_guide/vault.html)**

**[Ansible Lint](https://docs.ansible.com/projects/lint/usage/)**

</td></tr><tr style="height: 61.7812px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 61.7812px;">**Data &amp; Environment**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 61.7812px;">**[Ansible Facts](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_vars_facts.html)**

**[Get host ENV vars](https://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-access-shell-environment-variables)**

</td></tr><tr style="height: 61.7812px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 61.7812px;">**Modules &amp; Templating**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 61.7812px;">**[Ansible Expect](https://docs.ansible.com/projects/ansible-core/devel/collections/ansible/builtin/expect_module.html#examples)**

**[Jinja2 templates](https://docs.ansible.com/projects/ansible-core/2.15/playbook_guide/playbooks_templating.html)**

</td></tr><tr style="height: 84.1719px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 84.1719px;">**Integrations &amp;  
Dynamic Inventory**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 84.1719px;">**[AWS Dynamic Inventory](https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html#inventory-script-example-aws-ec2)**

**[Linux Storage Role](https://linux-system-roles.github.io/storage/)**

**[Handlers](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_handlers.html#handler-example)**

</td></tr><tr style="height: 78.5781px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 78.5781px;">**<span class="">Loops and Conditionals</span>**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 78.5781px;">[**loop**](https://docs.ansible.com/projects/ansible/latest/playbook_guide/playbooks_conditionals.html#loops-and-conditionals)  
[**with\_items**](https://docs.ansible.com/projects/ansible-core/devel/collections/ansible/builtin/items_lookup.html#examples)  
[**with\_fileglob**](https://docs.ansible.com/projects/ansible-core/devel/collections/ansible/builtin/fileglob_lookup.html#examples)

</td></tr><tr style="height: 50.5938px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 50.5938px;">**<span class="">Task Delegation &amp; Scope</span>**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 50.5938px;">[**delegate\_to**](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_delegation.html#delegating-tasks)

[**run\_once**](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_delegation.html#delegation-and-parallel-execution)

</td></tr><tr style="height: 50.5938px;"><td style="width: 45.4545%; padding: 8px; vertical-align: top; height: 50.5938px;">**<span class="">Error Handling</span>**</td><td style="width: 54.5455%; padding: 8px; vertical-align: top; height: 50.5938px;">**[ignore\_errors](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_error_handling.html#ignoring-failed-commands)  
[failed\_when](https://docs.ansible.com/projects/ansible-core/devel/playbook_guide/playbooks_error_handling.html#defining-failure)** </td></tr></tbody></table>