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

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 82

  • @SURESHP-th8bh
    @SURESHP-th8bh 9 หลายเดือนก่อน +13

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

    • @abhishekjoshi4091
      @abhishekjoshi4091 20 วันที่ผ่านมา

      U can try putting when statement to check for os too

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

  • @angelinjenipher145
    @angelinjenipher145 9 หลายเดือนก่อน +2

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

  • @sohailabbasanjum9088
    @sohailabbasanjum9088 3 หลายเดือนก่อน

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

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

  • @riyazbasha3571
    @riyazbasha3571 ปีที่แล้ว +3

    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?

  • @dummymail6029
    @dummymail6029 9 หลายเดือนก่อน

    Great video thank you @abhishek

  • @11SAGARSHINDE
    @11SAGARSHINDE 2 ปีที่แล้ว +2

    Very nice....good explanation 👍

  • @srinivasmacharla2209
    @srinivasmacharla2209 ปีที่แล้ว +1

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

  • @khanmohammad6725
    @khanmohammad6725 ปีที่แล้ว +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว +1

      Will do soon

    • @vamshikrishna7945
      @vamshikrishna7945 ปีที่แล้ว

      @@AbhishekVeeramalla Abhishek did u uploaded this interview questions in your github ?

  • @TechEra407
    @TechEra407 2 ปีที่แล้ว +4

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

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

  • @bhavnabartarya9326
    @bhavnabartarya9326 2 หลายเดือนก่อน

    Much helpful 👍

  • @ranjansingh427
    @ranjansingh427 ปีที่แล้ว +1

    Really it is very useful for us

  • @Ravikumar-rn6vz
    @Ravikumar-rn6vz 2 หลายเดือนก่อน

    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

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

  • @prashantmane1072
    @prashantmane1072 ปีที่แล้ว +2

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

  • @taiwoamao1204
    @taiwoamao1204 11 หลายเดือนก่อน +1

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

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

  • @daipayanadhikari7612
    @daipayanadhikari7612 ปีที่แล้ว

    Great Content

  • @bhavyabojanapalli380
    @bhavyabojanapalli380 2 ปีที่แล้ว +1

    Informative

  • @TechEra407
    @TechEra407 2 ปีที่แล้ว +1

    Thank you so much brother..

  • @srk9511
    @srk9511 2 ปีที่แล้ว +4

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 ปีที่แล้ว +1

      Yeah .. I started posting answers in the new videos.

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

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

  • @generalbrowsing9482
    @generalbrowsing9482 6 หลายเดือนก่อน

    Thank you sir :)

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

  • @swaraj525908522
    @swaraj525908522 11 หลายเดือนก่อน

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

  • @jibanjyotiparida892
    @jibanjyotiparida892 2 ปีที่แล้ว +2

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 ปีที่แล้ว

      Sure .. I will make a video on how to introduce yourself

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

  • @kshitijgupta5172
    @kshitijgupta5172 ปีที่แล้ว +1

    can you please give the link for the answer number 3

  • @sowmyalakshmi8161
    @sowmyalakshmi8161 ปีที่แล้ว +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  ปีที่แล้ว

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

  • @KrishnaRac
    @KrishnaRac ปีที่แล้ว +1

    interviewer are asking about jinja template and ansible tower also.

  • @abhishekjoshi001
    @abhishekjoshi001 7 หลายเดือนก่อน +1

    nice

  • @madhusai7021
    @madhusai7021 ปีที่แล้ว

    aws ssm and secret store is best for secret management

  • @bhavyab3600
    @bhavyab3600 2 ปีที่แล้ว +1

    Nice

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

  • @sahaivaranasi
    @sahaivaranasi ปีที่แล้ว +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  ปีที่แล้ว +1

      Please watch ansible zero to hero video

    • @sahaivaranasi
      @sahaivaranasi ปีที่แล้ว

      @@AbhishekVeeramalla thanks bhai 🙏

  • @sagarsonawane7566
    @sagarsonawane7566 10 หลายเดือนก่อน +8

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

    • @vasanthig8534
      @vasanthig8534 9 หลายเดือนก่อน

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

    • @samjones4443
      @samjones4443 6 หลายเดือนก่อน

      Just create your own channel and show us.

  • @sarreviews6518
    @sarreviews6518 2 ปีที่แล้ว +1

    ❤️

  • @shadmantabraiz
    @shadmantabraiz วันที่ผ่านมา

    Thank you Abhishek...great video