DevOps / Ansible Interview questions
What is Ansible?
Ansible is an open-source, agentless automation tool used for configuration management, application deployment, and orchestration. It connects to managed nodes over standard SSH (or WinRM for Windows) and pushes changes out, rather than requiring a persistent agent installed on every target machine.
Automation is described declaratively in YAML files called playbooks, which list the desired end state of a system rather than a sequence of imperative shell commands. Ansible reads the playbook, connects to the target hosts listed in its inventory, and applies the necessary changes using reusable units of work called modules. Because there's no agent to install, patch, or keep running, and the connection uses infrastructure most environments already have (SSH), Ansible has a comparatively low barrier to adoption compared to agent-based tools.
More Related questions...