ansible interview questions




  1. what is ansible?


  1. what is difference between ansible and chef?


  1. i want to create users in my machine which is the most faster tool i.e ansible or chef or puppet?


  1. what is loop in ansible ?


  1. how to read the variables in playbooks ? {{ username }}


  1. how to expose passwords in playbooks? --> encryption -->vault


  1. any other options other than vault? --> python hashing


  1. how to get the gather facts?


  1. what are the modules have you used?


  1. how ansible will works?


  1. what is static inventory and dynamic inventory?


  1. in my playbook number of tasks are there while running the second task is failure then my playbook will be execute others task or not?

  2. i want ignore my failure task and run other task in playbook how to do this?


  1. what is group_vars and host_vars


  1. what are playbook have you written?


  1. write sample playbook structure ?


  1. For what purposes you are using ansible in project


  1. How to troubleshoot ansible -vvv


  1. When you ping nodes & it says unreachable, how to troubleshoot?


  1. What is playbook,


  1. What all playbooks are you using in project,


  1. Write playbook for creating 100 users

Comments