DevOps


Ansible_Logo

Ansible: Automation using conditions

While ansible runs playbook on group of managed nodes which are also present in the Inventory file, we can run tasks on selected nodes based on defined conditions. For example we may want to install…


Ansible_Logo

Ansible: Roles

Roles is a feature provided by Ansible were once a standardized directory structure is created, you can automatically load related vars, files, tasks, handlers, and other Ansible artifacts. Using roles we have opportunities to reuse code from playbooks that…





Ansible_Logo

Ansible – Error Handling

Do not misunderstand the concept error handling in this document with error handling in usual software programming terminology. Usually when one writes a program, a syntax check will check for syntax including indentation, spacing, etc. But…