Top 20 Ansible Interview Questions
Top 20 Ansible Interview Questions 2021 |
- What Is Ansible ?
- What is ad hoc commands in Ansible ?.
- How to creating file and directory using Ansible ?.
- How to copy the data from source to destination using Ansible ?.
- How to fetch environment variables from the server using Ansible ?.
- What is Handlers ?.
- Explain Ansible structure.
- What is difference between Template and Files ?.
- How to copy the from source to destination via Ansible ?.
- What is Roles in Ansible ?.
- How to check the whether the syntax is correct or not for playbook ?.
- How to call below ymal playbooks inside the playbook (main.yaml) ?.
- Test1.yaml
- Test2.yaml
- Test3.yaml
- Suppose there are 5 files on source server, 3 files are already copied on destination. Now need to copy 2 files to destination. Which module do you use ?.
- Suppose on AWS Instance, IP is changing dynamically. How to capture those IP via ansible playbook ?.
- How you will fetch information in .csv or excel format using Ansible ?.
- what is host file in Ansible ?.
- Can we create separate configuration file in Ansible?.
- What is Ansible.cfg ?.
- What is the licensing part in Ansible ?.
- What is Ansible facts ?.