Ansible Interview Question
What is Ansible?
Provisioning, configuration management and deployment of application can be easily achieved with open source package i.e. Ansible. It runs on several Unix-like system, and might piece each Unix like system similarly as Microsoft Windows. It includes its own declarative language to explain system configuration.
What is Configuration Management
A product performance and consistency can be smoothly established and maintained using Configuration management with their functional and physical attributes with its design and operational data throughout its life.
How Ansible Works?
Ansible connects to your nodes and push tiny programs, known as “Ansible modules” to make its smooth working. Your library of modules will reside on any machine, and there are not any servers, daemons, or databases needed.
What is Ansible Galaxy?
Ansible connects to your nodes and push tiny programs, known as “Ansible modules” to make its smooth working. We can use Galaxy’s Search page to find Roles and Collections for your project, then follow the instructions to download them onto your Ansible host. The Ansible Galaxy program line tool comes full of Ansible, and it will be accustomed install roles from Galaxy or directly from a supply management Management system like Git”.
What is Ansible Playbook?
Playbooks ar Ansible’s configuration, deployment, and orchestration language. they’ll describe a policy you would like your remote systems to enforce, or a collection of steps during a general IT method.
What are Ansible Roles?
Roles defines a framework for fully independent area of variables, files, tasks, and handlers supported a well known file structure. Grouping contents by roles allows us to easy sharing of roles with other users.
What are Ad-hoc commands?
Ad-hoc commands are just simple one-line commands used to perform a certain task.