Ansible Automation | Ansible Playbooks for Automation

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

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

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

    I was searching a good video which will clear my doubts...Got it ..very clearly .(All video of Anisble)

    • @YogeshMehta
      @YogeshMehta  7 ปีที่แล้ว

      thanks for the feedback

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

    Hey Yogesh,
    You post awesome videos, hats off!!
    If you can put the commands or the link to the commands in TH-cam show notes that will be very helpful.

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

    Very useful to the Begginers.. Crisp and clear.. Thanks Yogesh 🙏. Appericate your efforts.. Subscribed 👍👍

  • @srinakka
    @srinakka 6 ปีที่แล้ว

    excellent session Yogesh.

  • @manjinderrandhawa5094
    @manjinderrandhawa5094 6 ปีที่แล้ว

    Good simple explanation. One doubt- what if different hosts in appgroup have different users and passwords?

  • @MrArunkumardhiman
    @MrArunkumardhiman 6 ปีที่แล้ว

    Hi Yogesh,
    I really appreciate your videos. Please can you give an example of customised deployment through Ansible. I meant conditional installation.

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

    Thank you. It's a useful video for a beginner. Can you put together a playbook tutorial video to deploy your web app to aws. Thanks

    • @YogeshMehta
      @YogeshMehta  8 ปีที่แล้ว

      Thanks for your feedback Evelyn. Yeah for sure, I will post a video on deploying web app either Apache or Nginx using ansible on AWS in coming days..

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

      Hi Evelyn, I have posted new video today. Explained ansible in littlebit more depth. Examples are given on Apache WebServer installation.
      Cheers,
      Yogesh

  • @faizan100able
    @faizan100able 6 ปีที่แล้ว

    Hi Yogesh,
    I have a shell script which needs user's input while executing, could you please guide me how to run it via ansible playbook.
    Thanks & Regards,
    Mohammad Faizan

  • @tanmoy6580
    @tanmoy6580 6 ปีที่แล้ว

    Hi Yogesh
    can you please tell me how to rollback any file with last backup file with ansible ?????

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

    Hi Yogesh ,
    is there any possibility to remove (ed : TASK [Print version] **************************** , ) these type of lines when we run the play book. Could you please let me know if there is any possibility to remove when we run the playbook.
    Thanks
    Rajasekhar

    • @YogeshMehta
      @YogeshMehta  7 ปีที่แล้ว

      Provide more details what you trying to achieve, will definitely try to help.

    • @lordinator3746
      @lordinator3746 6 ปีที่แล้ว

      How to add more user in ansible?

  • @gaurav40goyal
    @gaurav40goyal 7 ปีที่แล้ว

    Hi Yogesh,
    It is very informative video. Thanks for sharing it. I just would like to know which automation tool is best for devops.

    • @YogeshMehta
      @YogeshMehta  7 ปีที่แล้ว

      I found ansible to be best for DevOps Automation, if compare with Puppert/Chef/Salt.

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

    I am getting a bytes-like object is required, not 'str'
    while running an ansible script

    • @YogeshMehta
      @YogeshMehta  6 ปีที่แล้ว

      If you can share exact error and your playbook I can try to
      Look into issue

  • @TecNmE
    @TecNmE 6 ปีที่แล้ว

    Hi Yogesh Sir
    Could you please help to roleback any things which I have done on ansible controller for any ansible client/node?
    This is an important question for me and I would like to know the answer from you.
    I'll be very grateful to you if you could provide me the solution..
    Thanks & Regards
    Suresh

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

    Thanks Yogesh for sharing this video.. Its very useful for beginners.
    can we push the remote server local user password through ansibleplaybook?

    • @YogeshMehta
      @YogeshMehta  8 ปีที่แล้ว

      Hello Mahesh, Yes this can be done. Playbook will look like below one.- hosts: all
      user: ansadm
      vars:
      hashedpass: $1$SAfd$UqddPX3r45hJ5/ZI tasks:
      - user: name=youruser password={{hashedpass}}
      Please Note - To generate hashedpass , you can follow below link.docs.ansible.com/ansible/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module

  • @lizathapa
    @lizathapa 6 ปีที่แล้ว

    Hello sir bt in your startup video u said ansible is written in python and in this video u saying it's yaml or json

  • @ashiqkt4100
    @ashiqkt4100 6 ปีที่แล้ว

    Thanks Yogesh.. Great work..
    I have an issue. Please help me in this.
    Issue:- Not reading aliases of Ansible clients
    I have alias 'cdhome' to go to my application's home directory in all servers.
    node 1:- alias cdhome='cd /var/MT_SMS_TN/'
    node 2:- alias cdhome='cd /mnt/MO_SVSI_MN/'
    node 3:- alias cdhome-'cd /opt/BLR/'
    etc..
    I want to copy webapps folder from my home path to /var/backup folder using ansible play book.
    I am using below yaml file, but it is not working.
    - hosts: test group
    tasks:
    - name: 1. change directory
    shell: "cdhome"
    - name: 2. copy
    script: copy webapp to dest
    shell: "cp -r webapps /var/backup/"

    • @lizathapa
      @lizathapa 6 ปีที่แล้ว

      Ashiq kt hi it's cd /home

  • @amirkazemi2517
    @amirkazemi2517 7 ปีที่แล้ว

    Hi Yogesh, how may I contact you?

  • @pharmaquikbd3434
    @pharmaquikbd3434 6 ปีที่แล้ว

    I got error when i check my playbook
    "Error:playbook must be a list of plays"

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

    please sur seesion on weblogic and splunk

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

      Hi Siddharth,
      Unfortunately as on date I don't have setup for weblogic and splunk :(

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

    Sir, please upload the role and template related video

    • @YogeshMehta
      @YogeshMehta  8 ปีที่แล้ว

      Sure Saroj Sir, I a week or two will upload videos

    • @YogeshMehta
      @YogeshMehta  8 ปีที่แล้ว

      Hi Saroj,
      I have uploaded a new video on Ansible roles and templates.
      Cheers,
      Yogesh

  • @shamanthreddy8154
    @shamanthreddy8154 7 ปีที่แล้ว

    Hello yogesh,
    I getting this issue my syntax is fine
    TASK [Install Latest Version HTTPD RPMs] ***************************************
    fatal: [ansible-slave]: FAILED! => {"changed": true, "failed": true, "msg": "You need to be root to perform this command.
    ", "rc": 1, "results": ["Loaded plugins: langpacks, versionlock
    "]}

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

      on the target machine, please configure root sudo.. ansible user you are using need to become root for running the commands

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

    very nice CBT ..........................

    • @YogeshMehta
      @YogeshMehta  8 ปีที่แล้ว

      thanks Saroj, I am happy if tutorials helped you.