- What are handlers used for in ansible and how is it diffrent from tasks?
- Conditional execution in ansible is used for what purpose and write down its syntax with small description?
- What are templates used for and its format?
- What are ansible roles and its purpose?
- Command to generate ansible roles directory structure.
- Name 5 directories from ansible roles.
- What is {{ }} symbol used for in ansible.
- Write down all the places where we can define variables according to its precedence.
- Setup module gets executed after executing any ad hoc command. True or False
- Anible playbooks are written in XML format. True or False
- ansible.cfg file is list of plays. True or False
- Fact variables is generated by ansible and we do not need to create fact varibales. True or False
- Anible is written in Python langueage. True or False
- Ansible works on Master and client relationship, where ansible control server package is installed on master and ansible client package is installed on all the clients. True or False
- Ansible loop module is with_items. True or False
- All the templates in ansible roles has to be defined in main.yml file inside templates directory. True or False
- All the roles uploaded in ansible galaxy website is written and owned by Ansible inc(organization).
- Ansible can only get installed on Linux machine but can manage Linux and windows nodes. True or False
- Write a Ansible task that can copy the file to remote location with the ownership of Jboss?
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND