InterviewSolution
| 1. |
How Ansible Works? |
|
Answer» On the LOCAL machine user uses playbook to configure and MANAGE the execution YAML based SCRIPTS. Main building blocks of Ansible are playbook, plugins, modules, HOST inventories, group_vars, roles, handlers, and tags. Using these components we define our configuration and scripts and that is executed on the remote nodes using SSH tunneling. Commands/steps in scripts are executed in order but execution happens in parallel on multiple remote nodes managed by Ansible. Ansible pushes out small PROGRAM termed as 'modules'; which are responsible for performing all heavy liftings. Ansible carries out these modules upon the SSH by default and eliminates them from the remote node machine when finished. |
|