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.
@@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
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 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
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
@@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...
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 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
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
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
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.
@4:19
- hosts: app
remote_user: ubuntu
become: yes
tasks:
- name: "installation of httpd"
apt: name=httpd state=present
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.
---
--name: install httpd
hosts: webservers
become: root
tasks:
- name : install httpd
shell : apt install httpd
- name : start httpd
shell : systemctl start httpd
For the question of vars: extra vars have the highest precedence, followed by role vars, and then group vars.
ANS 3>
---
- name: Install HTTPD using Ansible Playbook
hosts: slave-1 #here ensure that node instance name is correct or not
become: true
tasks:
- name: Install HTTPD package
package:
name: httpd
state: present
- name: Start HTTPD service
service:
name: httpd
state: started
enabled: yes
All questions were good. Verbosity is already available for per task basis. So its not a drawback
Hi Santosh,
Please check github.com/ansible/ansible/issues/24215
@@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
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?
Great video thank you @abhishek
Plz do for more scenario based questions on terraform, docker and kubernate. Which can help us a lot.
Sure
Thanks bro! If possible please make part 2 on ansible interview questions.
Will do soon
@@AbhishekVeeramalla Abhishek did u uploaded this interview questions in your github ?
Much helpful 👍
Very nice....good explanation 👍
Thanks Sagar
Hi Abhishek please make videos on Ansible,Docker & Jenkins in deep real time scenario based Questions
Sure
@@AbhishekVeeramalla waiting for your video
Really it is very useful for us
Glad to hear that
superb😍😍😍
make it terraform separate interview q & a
Sure, Thanks for the suggestion!!
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.
Thank you very much bro 🙏 these will be very much helpful to us
Welcome Prasanti
nice
Nice Explanation Sir... Thank you for your presentation..
You are most welcome
Great Content
its very usefull for us ... plz make some videos realted to real time scerario based questions
Sure
Thank you sir :)
Q15) A: Ansible vault for handle secrets in ansible .
I uploaded video to answer all the questions. Please check on my channel
Informative
Thanks
Thank you so much brother..
Welcome
sir its very good video , sir i have request plz show answer in videos
Yeah .. I started posting answers in the new videos.
Hi Abhishek, Please where is the link to the Github for this Ansible questions?
Nice
Thanks
Sir please share how to interduce my self as a devops Engineer fresher and experience please provide video
Sure .. I will make a video on how to introduce yourself
interviewer are asking about jinja template and ansible tower also.
Will try to make video on that as well
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
Hey sure .. I will make a short video on this as many people are asking.
aws ssm and secret store is best for secret management
my interviewer ask how did you use Ansible in your project?
Please watch ansible zero to hero video
@@AbhishekVeeramalla thanks bhai 🙏
Hi..can you please help provide the link to install httpd using ansible
I have 1 question ,if we are giving whatever requirement to run application in dockerfile then when we use ansible??
Ansible and docker are completely different.. please follow our complete Devops course
Hi Abhishek sir, I'm confused what is difference between git merge and rebase. this question asked in all the interviews
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
❤️
Thanks
can you please give the link for the answer number 3
will share
Please write or show answer rather than talk it's too effective
Show us answer too. It will be helpful for everyone.
Just create your own channel and show us.
It is possible to write own Ansible module using shell/python script.
Yes you build your own ansible module using Python
@@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...
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
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 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
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
@@AbhishekVeeramalla appraciate youThanks
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
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.