Ansible 101 - Episode 13 - Ansible Collections and a Test Plugin

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ม.ค. 2025

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

  • @Frogstomp_actual
    @Frogstomp_actual 4 ปีที่แล้ว

    Just bought your book, looking forward to reading it. Many thanks for helping us learn Jeff.

  • @ThomasRStevenson
    @ThomasRStevenson 4 ปีที่แล้ว

    I'm glad you are feeling better!

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

    stay healthy my dude... love your videos and your books...

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

      @Kace Titus pro tip: ur a bot 🤖

  • @joeshonk9715
    @joeshonk9715 3 ปีที่แล้ว

    @49:50 how did you collections_paths = to work? I had to change it to collections_path = for it work properly

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

    Still loving the book.

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

    Great series Jeff. Thank you very much. If you could create a video on how to install collections on remote servers without internet it would be really helpful.

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

      I probably won't be doing a video on that specific topic, but if you go to Galaxy or Automation Hub and look at a collection, it should have a download link available. You can use that to download the collection to wherever you need it, then transfer it to the servers via some other means. Also please join #ansible on Freenode IRC and ask any other specific questions like that there.

  • @lucianobaez
    @lucianobaez 3 ปีที่แล้ว

    Good video. Do you have any post or video that explains the use of custom developed collections to be consumed from a git repository?
    I have a playbook that I run from ansible tower and it has the collections / requirements.yml file pointing to the git repository where I keep my collection, but it can't find it.

  • @mfaine
    @mfaine 4 ปีที่แล้ว

    @geerlinguy When should I put roles in the collection as opposed to separate from the collection?

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

    You mentioned Ansible on Windows. I have it working on WSL2, more ore less. Creatied my own dev playbook for Windows.
    Looking into bootstrapping the Chocolatey installation now from within WSL2. Will share it on GitHub later. Molecule works with WSL2 Docker after some tricks.
    KVM2 with nested virtualization does not work yet. I tried with a custom build kernel.
    Packer with Ansible 2 does no longer work. I think can get that working.

    • @JeffGeerling
      @JeffGeerling  4 ปีที่แล้ว

      THat's great! It would be wonderful to see your work on GitHub.

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

    This remains one of my favourite episodes. If you concure like 👍 ❤️
    It will be great to do a repeat of this episode to see how much collections has evolved since the recording of this video. Any plans Jeff?

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

    thank you. really valuable

  • @boehmmi
    @boehmmi 4 ปีที่แล้ว

    When will I be able to install ansible-core 2.10 and then the few modules I need for my project? We are using Ansible as a middleware and security team is complaining about the thousands of unused modules that are lying around in the docker-image. Thanks!

    • @JeffGeerling
      @JeffGeerling  4 ปีที่แล้ว

      Good question! Ansible devel branch is already close to the final release, so you could test by installing ansible from source or using pip install and passing the devel Git branch as the source, then adding specific collections via Ansible Galaxy. I believe the first 2.10 beta will be available today!

    • @boehmmi
      @boehmmi 4 ปีที่แล้ว

      Jeff Geerling Thanks for your quick answer. I’ll definitely try that out soon.
      Hopefully we’ll have a lightweight Ansible only containing the few network-related modules we need and some support modules like template soon.
      Greetings from Germany.

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

    "bear plugin" 🐻 RAWR... 😂😂😂

  • @a5tr00
    @a5tr00 ปีที่แล้ว

    great content! If wondering btw, people still learning from your videos :).

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

    @jeff
    I know it is not the topic of the video but you did mention it so...
    You said something about Chron disease. You probably think at this point what the doctors told you that it is incurable, well... Good news it is not incurable.
    I've been living with it for 30+ years and for about 10 I don't have it anymore.
    I didn't know how it feels to be normal ( health wise ), but it is wonderful.
    It is all about nutrition, what you eat, and your gut microbiom.
    If you want I can point you into the right direction.

  • @mfaine
    @mfaine 4 ปีที่แล้ว

    Is the ansible_collections folder actually required? Why not just put it under collections?

    • @JeffGeerling
      @JeffGeerling  4 ปีที่แล้ว

      Yes, it's required due to Ansible's use of PEP 420 namespaced packages (www.python.org/dev/peps/pep-0420/)

  • @remomattei
    @remomattei 4 ปีที่แล้ว

    can you share your demo into git?

  • @Xalor69
    @Xalor69 3 ปีที่แล้ว

    Building with Pi's as an exercise has advantages. Cost to build...home labs is far easier to afford a few PI's than the same number of NUCs. Also, learning to minimize resource usage will pay dividends when you're doing it for money, and the customer has limited resources. Building for simplicity should be the other half of the exercise. Simplicity in production makes troubleshooting easier.

  • @cristiantodea4573
    @cristiantodea4573 3 ปีที่แล้ว

    43:07

  • @Xalor69
    @Xalor69 3 ปีที่แล้ว

    -i accepts an inventory file, or a comma separated list. If there was no comma, it's not a list, so ansible would be looking for a file. But with the comma, it's a list.

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

    Love your content but you do like to waffle on :)

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

    PEP420 lol

  • @arrey11
    @arrey11 3 ปีที่แล้ว

    Develop a python course for system administration. Geared towards Linux. Python for Linux Scripting.