Answers to Ansible Interview Questions | DevOps FAQ | DevOps Interview Q&A |
Support my work
www.buymeacoffee.com/abhishekprd Hi Everyone, A couple of weeks back I made a video on 18 most asked Ansible Interview questions, Thanks for the response.
I am making this video to answer the questions. I will explain the answers with some practical examples.
Watch the complete video to learn about the practical Implementation with live examples and answers.
Ansible Interview Questions video:
• Video
About me:
-----------------
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam-veeramalla
Medium: / abhishekveeramalla-av
KZread: / @abhishekveeramalla .
.
Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.
Пікірлер: 77
18:45 Ansible Vault is a built-in feature that allows you to encrypt sensitive data files or variables. You can create an encrypted file using ansible-vault create and encrypt sensitive variables using ansible-vault encrypt_string. These encrypted files can be version controlled and shared securely among team members. You can decrypt the files using the ansible-vault decrypt command or provide the vault password during playbook execution.
@4:19 - hosts: app remote_user: ubuntu become: yes tasks: - name: "installation of httpd" apt: name=httpd state=present
Great video thank you @abhishek
Nice Explanation Sir... Thank you for your presentation..
@AbhishekVeeramalla
Жыл бұрын
You are most welcome
Thank you very much bro 🙏 these will be very much helpful to us
@AbhishekVeeramalla
Жыл бұрын
Welcome Prasanti
Hello Abhishek, thanks for this video, can you also please one video for all networking commands that the DevOps Engineer uses on a daily basis.
Hi Abhishek, Please where is the link to the Github for this Ansible questions?
Great Content
Thank you sir :)
Very nice....good explanation 👍
@AbhishekVeeramalla
Жыл бұрын
Thanks Sagar
Plz do for more scenario based questions on terraform, docker and kubernate. Which can help us a lot.
@AbhishekVeeramalla
Жыл бұрын
Sure
Hi..can you please help provide the link to install httpd using ansible
Thank you so much brother..
@AbhishekVeeramalla
Жыл бұрын
Welcome
its very usefull for us ... plz make some videos realted to real time scerario based questions
@AbhishekVeeramalla
Жыл бұрын
Sure
Informative
@AbhishekVeeramalla
2 жыл бұрын
Thanks
superb😍😍😍 make it terraform separate interview q & a
@AbhishekVeeramalla
2 жыл бұрын
Sure, Thanks for the suggestion!!
Really it is very useful for us
@AbhishekVeeramalla
Жыл бұрын
Glad to hear that
All questions were good. Verbosity is already available for per task basis. So its not a drawback
@AbhishekVeeramalla
2 жыл бұрын
Hi Santosh, Please check github.com/ansible/ansible/issues/24215
@santoshkulkarni3966
2 жыл бұрын
@@AbhishekVeeramalla good can u check date of the issue Increase verbosity on a per task basis #24215 Open rgdacosta opened this issue on 2 May 2017 · 32 comments · May be fixed by #41621
Thanks bro! If possible please make part 2 on ansible interview questions.
@AbhishekVeeramalla
11 ай бұрын
Will do soon
@vamshikrishna7945
11 ай бұрын
@@AbhishekVeeramalla Abhishek did u uploaded this interview questions in your github ?
nice
Real time scenario - Ans for 18 ---> Still in a simple playbook, ansible can't identify the error like programming languages. It says that there is error on so and so line, but that line would be perfect, but ansible says the error and may be at some place elsewhare and it so much that the Ansible has to get improved. Right?
Hi Abhishek sir, I'm confused what is difference between git merge and rebase. this question asked in all the interviews
@AbhishekVeeramalla
Жыл бұрын
Hi Akash, This is very well explained in the 45 days course .. Git Concepts with live example. Please watch the Git videos in our DevOps Zero to Hero Course
Sir I'm trying to change my domain I have not done Anydevops related task in my current organization so how to handle those kind of questions
@AbhishekVeeramalla
Жыл бұрын
Hi Dilip, You can work on some proof of concept projects at your end and gain DevOps experience first. It is always good to have some working knowledge before switching, so try to move to DevOps position in your current organization first.
Hi Abhishek please make videos on Ansible,Docker & Jenkins in deep real time scenario based Questions
@AbhishekVeeramalla
Жыл бұрын
Sure
@prashantmane1072
Жыл бұрын
@@AbhishekVeeramalla waiting for your video
Nice
@AbhishekVeeramalla
2 жыл бұрын
Thanks
I have 1 question ,if we are giving whatever requirement to run application in dockerfile then when we use ansible??
@AbhishekVeeramalla
Жыл бұрын
Ansible and docker are completely different.. please follow our complete Devops course
hi abisheck iam good with Dynatrace monitoring tools aim working into Linux and Linux admin but i have learnt terraform and certified hashicorp certified terraform associate exam (002) iam well good with kubernetes (eks) jenkins , ansible , docker git, maven , iam searching job as a devops engineer as part of my role i knew only one monitoring tool which is dynatrace , is that going to work during interview if i would say monitoring tool as dynatrace do i need to learn kibana or something else as a monitoring tool. iam following your vidoes quite a long i would apprecaite i you could help me with this
@AbhishekVeeramalla
Жыл бұрын
One tool is good enough .. You should understand the concept of monitoring but if you have time .. You can just take a look at ELK as well. It is very easy to setup and because you already know dynatrace .. it will be even more easier. But to answer your question, one tool is good enough:) .. you can tell in the interview.. I only used dynatrace
@sathishdarshanala6137
Жыл бұрын
@@AbhishekVeeramalla appraciate youThanks
It is possible to write own Ansible module using shell/python script.
@AbhishekVeeramalla
Жыл бұрын
Yes you build your own ansible module using Python
@sukhdevkhade9006
Жыл бұрын
@@AbhishekVeeramalla Ok. One more question. It is possible tha collect the gather facts of database. e.g Total table, version, no of users, any many more...
❤️
@AbhishekVeeramalla
2 жыл бұрын
Thanks
aws ssm and secret store is best for secret management
Hi bro can you please explain how to answer tell me about yourself to client as a fresher. And that too after the training of three months. Please try to reply
@AbhishekVeeramalla
Жыл бұрын
Hey sure .. I will make a short video on this as many people are asking.
sir its very good video , sir i have request plz show answer in videos
@AbhishekVeeramalla
Жыл бұрын
Yeah .. I started posting answers in the new videos.
Q15) A: Ansible vault for handle secrets in ansible .
@AbhishekVeeramalla
Жыл бұрын
I uploaded video to answer all the questions. Please check on my channel
Sir please share how to interduce my self as a devops Engineer fresher and experience please provide video
@AbhishekVeeramalla
2 жыл бұрын
Sure .. I will make a video on how to introduce yourself
can you please give the link for the answer number 3
@AbhishekVeeramalla
Жыл бұрын
will share
interviewer are asking about jinja template and ansible tower also.
@AbhishekVeeramalla
Жыл бұрын
Will try to make video on that as well
my interviewer ask how did you use Ansible in your project?
@AbhishekVeeramalla
Жыл бұрын
Please watch ansible zero to hero video
@sahaivaranasi
Жыл бұрын
@@AbhishekVeeramalla thanks bhai 🙏
--- --name: install httpd hosts: webservers become: root tasks: - name : install httpd shell : apt install httpd - name : start httpd shell : systemctl start httpd
Please write or show answer rather than talk it's too effective
@vasanthig8534
4 ай бұрын
Show us answer too. It will be helpful for everyone.
@samjones4443
Ай бұрын
Just create your own channel and show us.
Hi Abhishek, One of the interviewer asked me, what is your preferred method for running a python script from an Ansible playbook? and why? can you please answer me
@AbhishekVeeramalla
Жыл бұрын
ansible does not have modules for everything you want to achieve. When there is no module for performing a pirticular task you may want to write a python script and execute it using ansible.