Answers to Ansible Interview Questions | DevOps FAQ | DevOps Interview Q&A |

Поділитися
Вставка
  • Опубліковано 24 січ 2025

КОМЕНТАРІ • 84

  • @niravoza1989
    @niravoza1989 Рік тому +24

    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.

  • @SURESHP-th8bh
    @SURESHP-th8bh 11 місяців тому +14

    @4:19
    - hosts: app
    remote_user: ubuntu
    become: yes
    tasks:
    - name: "installation of httpd"
    apt: name=httpd state=present

    • @abhishekjoshi4091
      @abhishekjoshi4091 Місяць тому

      U can try putting when statement to check for os too

  • @riyazbasha3571
    @riyazbasha3571 Рік тому +4

    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?

  • @TechEra407
    @TechEra407 2 роки тому +5

    Plz do for more scenario based questions on terraform, docker and kubernate. Which can help us a lot.

  • @tusharpatole2130
    @tusharpatole2130 23 дні тому +1

    - name: Ensure Apache is installed and running
    hosts: all
    tasks:
    - name: Install Apache
    yum:
    name: httpd
    state: present
    - name: Ensure Apache is running
    service:
    name: httpd
    state: started

  • @dummymail6029
    @dummymail6029 10 місяців тому

    Great video thank you @abhishek

  • @11SAGARSHINDE
    @11SAGARSHINDE 2 роки тому +2

    Very nice....good explanation 👍

  • @srinivasmacharla2209
    @srinivasmacharla2209 2 роки тому +1

    Nice Explanation Sir... Thank you for your presentation..

  • @sohailabbasanjum9088
    @sohailabbasanjum9088 5 місяців тому

    For the question of vars: extra vars have the highest precedence, followed by role vars, and then group vars.

  • @angelinjenipher145
    @angelinjenipher145 10 місяців тому +2

    ---
    --name: install httpd
    hosts: webservers
    become: root
    tasks:
    - name : install httpd
    shell : apt install httpd
    - name : start httpd
    shell : systemctl start httpd

  • @khanmohammad6725
    @khanmohammad6725 Рік тому +1

    Thanks bro! If possible please make part 2 on ansible interview questions.

  • @prashantmane1072
    @prashantmane1072 2 роки тому +2

    Hi Abhishek please make videos on Ansible,Docker & Jenkins in deep real time scenario based Questions

  • @prasanthipagidi7437
    @prasanthipagidi7437 2 роки тому +1

    Thank you very much bro 🙏 these will be very much helpful to us

  • @shubhambadade4290
    @shubhambadade4290 2 роки тому +1

    its very usefull for us ... plz make some videos realted to real time scerario based questions

  • @bhavnabartarya9326
    @bhavnabartarya9326 3 місяці тому

    Much helpful 👍

  • @vijaybhatt8060
    @vijaybhatt8060 2 роки тому +2

    superb😍😍😍
    make it terraform separate interview q & a

  • @srinathg3051
    @srinathg3051 Рік тому

    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.

  • @santoshkulkarni3966
    @santoshkulkarni3966 2 роки тому +3

    All questions were good. Verbosity is already available for per task basis. So its not a drawback

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому

      Hi Santosh,
      Please check github.com/ansible/ansible/issues/24215

    • @santoshkulkarni3966
      @santoshkulkarni3966 2 роки тому +1

      @@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

  • @ranjansingh427
    @ranjansingh427 Рік тому +1

    Really it is very useful for us

  • @taiwoamao1204
    @taiwoamao1204 Рік тому +1

    Hi Abhishek, Please where is the link to the Github for this Ansible questions?

  • @jibanjyotiparida892
    @jibanjyotiparida892 2 роки тому +2

    Sir please share how to interduce my self as a devops Engineer fresher and experience please provide video

  • @TechEra407
    @TechEra407 2 роки тому +1

    Thank you so much brother..

  • @generalbrowsing9482
    @generalbrowsing9482 8 місяців тому

    Thank you sir :)

  • @daipayanadhikari7612
    @daipayanadhikari7612 Рік тому

    Great Content

  • @Mr.Bkkkkk
    @Mr.Bkkkkk Рік тому +1

    I have 1 question ,if we are giving whatever requirement to run application in dockerfile then when we use ansible??

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      Ansible and docker are completely different.. please follow our complete Devops course

  • @Akashma7198
    @Akashma7198 Рік тому +1

    Hi Abhishek sir, I'm confused what is difference between git merge and rebase. this question asked in all the interviews

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +1

      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

  • @sowmyalakshmi8161
    @sowmyalakshmi8161 2 роки тому +1

    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
      @AbhishekVeeramalla  2 роки тому

      Hey sure .. I will make a short video on this as many people are asking.

  • @swaraj525908522
    @swaraj525908522 Рік тому

    Hi..can you please help provide the link to install httpd using ansible

  • @KrishnaRac
    @KrishnaRac Рік тому +1

    interviewer are asking about jinja template and ansible tower also.

  • @dilipkumars6556
    @dilipkumars6556 2 роки тому +1

    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
      @AbhishekVeeramalla  2 роки тому

      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.

  • @SukhdevKhade007
    @SukhdevKhade007 2 роки тому +1

    It is possible to write own Ansible module using shell/python script.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому

      Yes you build your own ansible module using Python

    • @SukhdevKhade007
      @SukhdevKhade007 2 роки тому

      @@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...

  • @bhavyabojanapalli380
    @bhavyabojanapalli380 2 роки тому +1

    Informative

  • @srk9511
    @srk9511 2 роки тому +4

    sir its very good video , sir i have request plz show answer in videos

  • @kshitijgupta5172
    @kshitijgupta5172 Рік тому +1

    can you please give the link for the answer number 3

  • @sathishdarshanala6137
    @sathishdarshanala6137 Рік тому +1

    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
      @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
      @sathishdarshanala6137 Рік тому

      @@AbhishekVeeramalla appraciate youThanks

  • @y.b.s.madhurirao652
    @y.b.s.madhurirao652 Рік тому

    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
      @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.

  • @arjuni001
    @arjuni001 8 місяців тому +1

    nice

  • @bhavyab3600
    @bhavyab3600 2 роки тому +1

    Nice

  • @Ravikumar-rn6vz
    @Ravikumar-rn6vz 3 місяці тому

    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

  • @madhusai7021
    @madhusai7021 Рік тому

    aws ssm and secret store is best for secret management

  • @sahaivaranasi
    @sahaivaranasi Рік тому +1

    my interviewer ask how did you use Ansible in your project?

  • @sarreviews6518
    @sarreviews6518 2 роки тому +1

    ❤️

  • @evansdanso2374
    @evansdanso2374 8 днів тому

    Good questions but didn’t get clear answers!!

  • @akshaypanigrahi166
    @akshaypanigrahi166 2 роки тому +2

    Q15) A: Ansible vault for handle secrets in ansible .

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 роки тому

      I uploaded video to answer all the questions. Please check on my channel

  • @sagarsonawane7566
    @sagarsonawane7566 11 місяців тому +9

    Please write or show answer rather than talk it's too effective

    • @vasanthig8534
      @vasanthig8534 11 місяців тому

      Show us answer too. It will be helpful for everyone.

    • @samjones4443
      @samjones4443 7 місяців тому

      Just create your own channel and show us.

  • @shadmantabraiz
    @shadmantabraiz Місяць тому

    Thank you Abhishek...great video