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

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 80

  • @SURESHP-th8bh
    @SURESHP-th8bh 9 месяцев назад +11

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

  • @niravoza1989
    @niravoza1989 Год назад +23

    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 8 месяцев назад +1

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

  • @Ravikumar-rn6vz
    @Ravikumar-rn6vz Месяц назад

    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

  • @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 года назад

      @@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 Год назад +2

    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 8 месяцев назад

    Great video thank you @abhishek

  • @TechEra407
    @TechEra407 2 года назад +4

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

  • @khanmohammad6725
    @khanmohammad6725 Год назад +1

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

  • @bhavnabartarya9326
    @bhavnabartarya9326 Месяц назад

    Much helpful 👍

  • @11SAGARSHINDE
    @11SAGARSHINDE Год назад +2

    Very nice....good explanation 👍

  • @prashantmane1072
    @prashantmane1072 Год назад +2

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

  • @ranjansingh427
    @ranjansingh427 Год назад +1

    Really it is very useful for us

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

  • @prasanthipagidi7437
    @prasanthipagidi7437 2 года назад +1

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

  • @abhishekjoshi001
    @abhishekjoshi001 6 месяцев назад +1

    nice

  • @srinivasmacharla2209
    @srinivasmacharla2209 Год назад +1

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

  • @daipayanadhikari7612
    @daipayanadhikari7612 11 месяцев назад

    Great Content

  • @shubhambadade4290
    @shubhambadade4290 Год назад +1

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

  • @generalbrowsing9482
    @generalbrowsing9482 6 месяцев назад

    Thank you sir :)

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

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

  • @taiwoamao1204
    @taiwoamao1204 10 месяцев назад +1

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

  • @bhavyab3600
    @bhavyab3600 2 года назад +1

    Nice

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

  • @KrishnaRac
    @KrishnaRac Год назад +1

    interviewer are asking about jinja template and ansible tower also.

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

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

  • @swaraj525908522
    @swaraj525908522 10 месяцев назад

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

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

  • @sarreviews6518
    @sarreviews6518 2 года назад +1

    ❤️

  • @kshitijgupta5172
    @kshitijgupta5172 Год назад +1

    can you please give the link for the answer number 3

  • @sagarsonawane7566
    @sagarsonawane7566 9 месяцев назад +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 5 месяцев назад

      Just create your own channel and show us.

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

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

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