Devops telephonic interview for experienced | Devops

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

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

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

    For the question asked at 13:20 in the video, I don't think he answered correctly.
    Correct answer would be:
    # ansible -i -m shell -a "sed -i '89s/.*/new line/' "
    This will change the 89th line of the file in all the hosts that are mentioned in inventory file.
    Correct me if I'm wrong.

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

      You are wrong as well!
      1. Interviewer mentioned about playbooks in the questions. You are running an ad hoc command.
      2. Using lineinfile module in playbook is the right approach to change the lines in the file

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

    in this interview, he maintained nail soft limited but it's not there in google

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

    What he ask and what you answer....