Part 9 – Ansible Roles

As of now we have written playbooks that include all the details like hosts, variables, tasks and plays. This is not an ideal way if we have many tasks and lots and lots of plays to be included, the best way to do it is to separate each item into its own directory and this is how its done in prodution especially if a organization use cloud. So let’s do some Role things. Continue reading

#include, #main-yml, #roles, #roles-structure

Part 1 – Introduction to Ansible

Ansible is one of the most popular configuration management tools out there. Ansible helps in Change Management, Provisioning, Automation and Orchestration of the infrastructure. Ansible is secure because it uses SSH to communicate with the managed nodes. Ansible is an agentless solution written in Python. Ansible instructions are written in YAML and a little knowledge on yaml helps. Ansible works on push based execution of commands. Continue reading

#ansible, #controllers, #introduction, #playbooks, #roles