Ansible-Interview-Ques
Ansible 1. What is Ansible and what is it used for? Ansible is an open-source automation tool that allows users to automate various IT tasks, such as configuration management, application deployment, and task orchestration. It uses a declarative language called YAML to define the desired state of a system, and then executes the necessary steps to bring the system into that state. Ansible works by connecting to remote systems via SSH, WinRM, or other remote protocols, and then running modules on those systems to perform tasks such as installing packages, modifying configuration files, and starting or stopping services. Because it uses a simple, agentless architecture, Ansible is lightweight and easy to use, making it popular among IT teams of all sizes. Some common use cases for Ansible include: Automating server and application configuration management Deploying and managing applications and services across multiple ser...