Ansible Tutorial Class 4 | Ansible Ad-hoc Commands | Tech Arkit

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

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

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

    Ansible Automation Playlist th-cam.com/play/PL8cE5Nxf6M6YUaKyuon-AWRDNr31ANuo2.html

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

    I watched your all videos.. Your teaching method is easily understand. Thanks you so much bro.. I am waiting for next video..

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

      Thanks Venkatraman

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

    I'm following you the all videos are simple awesome and expecting more from you. If possible do it for terraform also
    after completion of this.

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

    Thanks again your A GOOD INSTRUCTOR

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

      I appreciate that!

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

    Video is just incredible do u have some pdf related to ansible automation EX407

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

      No, PDF documentation however in website and Github there are playbooks.

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

    Fyi : i have also tried below command too
    ansible -s server -m yum -a "name=wget state=absent"
    ansible server -m yum -a "name=wget state=absent" -u root --private-key=~/.ssh/awspwd

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

    I found that am using latest version of ansible so -b is the sudo command

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

    why we are using ansible all -m ping
    but why can't
    ansible all -m shell -a "ping"
    for the remaining commands we are using ansible all -a "uptime"

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

      Either way you can use it, however we are using ping module instead of ping command.

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

    Bro every video of yours is great and easy to understand. I have one doubt instead NOT_LOGGING_PASSWORD. How do we give password access.Thank you

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

    Hi Ravi,
    Am following your video but while trying to install packaged via ansible script am getting the following the error
    Kindly assist me on this
    ansible server -m yum -a "name=wget state=present"
    master | FAILED! => {
    "ansible_facts": {
    "discovered_interpreter_python": "/usr/libexec/platform-python"
    },
    "changed": false,
    "msg": "This command has to be run under the root user.",
    "results": []
    }
    node1 | FAILED! => {
    "ansible_facts": {
    "discovered_interpreter_python": "/usr/libexec/platform-python"
    },
    "changed": false,
    "msg": "This command has to be run under the root user.",
    "results": []

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

      You should become an root user using -b --become-user option

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

    sir how to login ny password through ad hoc command .plz help

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

      you can specify in ansible configuration file