Turn Your Vehicle Into a Smart Earning Asset

While you’re not driving your car or bike, it can still be working for you. MOTOSHARE helps you earn passive income by connecting your vehicle with trusted renters in your city.

πŸš— You set the rental price
πŸ” Secure bookings with verified renters
πŸ“ Track your vehicle with GPS integration
πŸ’° Start earning within 48 hours

Join as a Partner Today

It’s simple, safe, and rewarding. Your vehicle. Your rules. Your earnings.

Ansible Interview Questions and Answer – Part 2

  1. What is the purpose and location of ansible.cfg file.
  2. Name any two settings from anible.cfg file.
  3. Please write below a sample inventory file with host, group & group of groups syntax in it.
  4. What is the diffrence between group_vars & host_vars directory?
  5. What are adhocs commands used for & write below syntax of a ad hocs command?
  6. Write below ad hoc command to gather fact varibales on all the hosts from the inventory file?
  7. What format does ansible ad hoc command returns the output?
  8. Name three types of modules in ansible?
  9. Name any 10 modules in ansible that you have used.
  10. How to list all the ansible core modules from command line.
  11. How to display all the options/attributes for apt module from command line.
  12. How can you check mandatory option for any module from command line?
  13. What is setup module used for?
  14. Write down sample global play declaration
  15. Write down any two tasks from playbook with its proper format and names.
  16. Whats is the diffrence between sudo and become module and its purpose.
  17. Write down playbook syntax of starting ntp service on webserver and dbservers host group at once.
  18. How to take user input from a playbook?
  19. What is debug module used for in playbooks?
  20. How to store output of any task into a varible from playbook?

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.