Ansible Apt Module Tutorial - Complete Beginner's Guide

Поділитися
Вставка
  • Опубліковано 5 вер 2024

КОМЕНТАРІ • 45

  • @toptechskills
    @toptechskills  3 місяці тому

    G'day everyone, if you're currently learning Ansible and want to see how all these modules fit together to build something useful, please consider checking out my course and letting me know what you think! It's currently in "early access" while I finish off the last chapter, and the first part of the course is free so you can try it out: learn.toptechskills.com/courses/productive-with-ansible. Thanks for all your support and happy coding!

  • @naveengoparaju2609
    @naveengoparaju2609 4 роки тому +3

    Believe me, its one of the greatest video's i have seen so far on ansible
    No Unnecessary talks, simple, straight and yet reached to a beginner like me
    Thanks a lot for the video

    • @toptechskills
      @toptechskills  4 роки тому

      Thank you for your comment Janatha, very happy that the video was useful for you!

  • @SP-ty5zw
    @SP-ty5zw 4 роки тому +3

    Wow, amazing way of teaching 👍🏻

  • @sf2998
    @sf2998 3 роки тому +2

    you have the best Ansible module tutorials!

    • @toptechskills
      @toptechskills  3 роки тому +1

      Thank you, appreciate the compliment!

    • @sf2998
      @sf2998 3 роки тому +1

      Do you still do Ansible related work?

    • @toptechskills
      @toptechskills  3 роки тому +1

      I still use Ansible a lot as part of my current job, although I haven't made any Ansible videos for quite some time because my time has been very limited.

    • @sf2998
      @sf2998 3 роки тому +1

      Do you use Ansible with Kubernetes and helm charts?

    • @toptechskills
      @toptechskills  3 роки тому +1

      I haven't yet, but if I was going to start doing those sorts of operations I would first read Geoff Geerling's "Ansible for Kubernetes" book.

  • @rakeshrao8911
    @rakeshrao8911 4 роки тому +1

    Very good, clear and crisp.thanks alot

    • @toptechskills
      @toptechskills  4 роки тому

      Thank you for the kind comment, Rakesh Rao 🙏

  • @radiantmind1079
    @radiantmind1079 4 роки тому +1

    wish i can do more than like ....... great work ... many thanks
    wish u make another video about apt_key and apt_repository

    • @toptechskills
      @toptechskills  4 роки тому

      Hi Radiant Mind, thanks for the kind comments. Hopefully I'll have time to make more videos about the modules in question in future, in the meantime, I wrote some articles about those modules that might be helpful:
      - www.toptechskills.com/ansible-tutorials-courses/ansible-apt_key-module-tutorial-examples/
      - www.toptechskills.com/ansible-tutorials-courses/ansible-apt_repository-module-tutorial-examples/
      Thanks again.

  • @abdul9910
    @abdul9910 4 роки тому +1

    Excellent please share modules on netapp storage I am working on it

  • @rizwankhana312
    @rizwankhana312 4 роки тому +1

    Thanks for your detailed videos.

  • @rizwankhana312
    @rizwankhana312 4 роки тому +1

    Please put more videos from ansible.

  • @chinnapaladugu7245
    @chinnapaladugu7245 4 роки тому +1

    It's really good ..can you make it on debug , stat , error handling and block modules it's helps a lot ..thanks in advance

    • @toptechskills
      @toptechskills  4 роки тому

      Thank you, I hope to make more in future

  • @mohammadshakir1664
    @mohammadshakir1664 4 роки тому +1

    I got Error
    ansible appgroup -m apt -a "name=nagios-server nagios-plugins"
    "E:flAbsPath on /var/lib/dpkg/status failed - real path (13: Permission denied), E: Could not open file - open (2: No such file or directory), E: Problem opening, E: The package lists or status file could not be parsed or opened.

    • @toptechskills
      @toptechskills  4 роки тому

      This is usually because you need `sudo` to execute the command. Using the `ansible` command you can do this with the `-b` / `--become` option:
      -b, --become run operations with become (does not imply password
      prompting)

  • @hellxsonlikegod3660
    @hellxsonlikegod3660 4 роки тому +1

    Hello!Nice video. Could you do a video about the install app on mac OS via ansible?

    • @toptechskills
      @toptechskills  4 роки тому +1

      Hi, thanks for the comment. I'll try to do a video like that in future. In the meantime, here's a good repo by Jeff Geerling that demonstrates how to manage software on a Mac: github.com/geerlingguy/mac-dev-playbook

  • @itaco8066
    @itaco8066 3 роки тому +1

    Awesome

  • @michaeljones9229
    @michaeljones9229 Рік тому +1

    Do you have any information how to use lock_timeout for the apt module?

    • @toptechskills
      @toptechskills  Рік тому

      This is related to apt/dpkg locks, which prevent multiple calls to apt/dpkg from changing system packages at the same time. The `lock_timeout` parameter controls how long the `apt` module will wait to acquire the apt/dpkg lock if the lock is currently taken by another call to apt/dpkg (e.g. another user on the system installing something with `apt`).

  • @AyushSingh-uj5nl
    @AyushSingh-uj5nl 2 роки тому +1

    Hot to install jenkins using ansible can you plz show as it most useful tool now a days ?

    • @toptechskills
      @toptechskills  2 роки тому

      Since jenkins is a common tool, I'd suggest looking for an existing role on Ansible Galaxy. I saw that Jeff Geerling has a Jenkins role, it's likely of high quality: galaxy.ansible.com/geerlingguy/jenkins

  • @karthickbaskar6886
    @karthickbaskar6886 4 роки тому +1

    Nice as usual

  • @tothz68
    @tothz68 2 роки тому +1

    What is the editor, that you use for test ?

  • @abdullahalnoman9204
    @abdullahalnoman9204 3 роки тому +1

    It is possible to install php7.2 without having ppa added beforehand?

    • @toptechskills
      @toptechskills  3 роки тому

      Ubuntu 18.04 appears to have the `php7.2` package: packages.ubuntu.com/search?keywords=php7.2, so you should be able to install it directly without onrej's ppa.

  • @Raj-si5yz
    @Raj-si5yz 5 років тому +1

    What is confg file and host file and where it is located

    • @toptechskills
      @toptechskills  5 років тому +1

      Hi Ankit, I have a video showing how I set up Ansible for this series of tutorial videos. The video is available here: ua-cam.com/video/bUac43G20JQ/v-deo.html
      Hope that answers your question.

    • @Raj-si5yz
      @Raj-si5yz 5 років тому +1

      @@toptechskills I got little bit,can you explain pls.thnx

    • @percygrunwald
      @percygrunwald 5 років тому +1

      @@Raj-si5yz the configuration file is the `ansible.cfg` in the root directory (the contents are shown in the video I linked in my previous comment). The host file is the file located at `inventory/hosts` (the contents of this file are also shown in the video linked in my previous comment).

    • @Raj-si5yz
      @Raj-si5yz 5 років тому +1

      Thnx you so much