How to Speed Up Ansible Playbooks Over 600%

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025
  • 🎓 My new Ansible Course (Productive with Ansible, 2024) now in Early Access: learn.toptechs...
    ✅ Full article with in-depth benchmarks in different regions == bit.ly/2Slzbpa
    Running Ansible playbooks against many hosts can be painfully slow, especially if they are in a region far away from you. I’m always looking for ways to speed up my playbooks and I’ve been using SSH pipelining in Ansible for quite some time. I feel like pipelining has improved the speed of my playbooks, but I’ve never actually tested it.
    Recently a tool called Mitogen crossed my path and it claims to give a 1.25x - 7x speedup in Ansible - a bold claim I was immediately skeptical of. Could Mitogen really give a 7x speed increase, and is it any faster than good ol’ pipelining? This was a perfect opportunity to put Mitogen’s claims to the test and finally see how big an improvement pipelining actually gives.
    0:51 -- Enabling Pipelining & Mitogen
    2:49 -- Benchmarking All Configurations
    MORE INFO
    ✅ READ THE IN-DEPTH ARTICLE HERE == bit.ly/2Slzbpa
    ✅ Mitogen for Ansible == bit.ly/2IBxAfl
    ✅ Pipelining in Ansile Docs == bit.ly/2BVezP4
    ✅ Most Popular Roles on Ansible Galaxy == bit.ly/2GZR1Mi
    SETUP/EDITOR/IDE
    ✅ Visual Studio Code == code.visualstu...)
    ✅ Ansible extension by Microsoft == bit.ly/2SdnqoK
    Thanks for watching and hope it's entertaining/useful for you! Hit me up in the comments if you have any questions or feedback 💪.
    Related & Channel
    ▶️ bit.ly/2VWid3D == Playlist of all Ansible videos
    ⭐️ bit.ly/2HavqCu == Subscribe to our RUclips Channel
    Our Site & Socials
    🌐 bit.ly/2shtKwZ == TopTechSkills.com
    🐦 bit.ly/2RkgZkk == @TopTechSkills on Twitter
    🐦 bit.ly/2AA19aN == @PercyGrunwald on Twitter
    😃 bit.ly/2ACQgEW == @TopTechSkills on Facebook
    🕹 bit.ly/2CWR3ST == @PercyGrunwald on Twitch

Комментарии • 63