You did WHAT with Ansible?!

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

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

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

    Me, using Excel for anything, "Yup, looks like a task for a spreadsheet."

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

      ... I'm going to take away the covid tracing database from you thank you very much

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

      I stopped my spreadsheet addiction after watching Matt Parker's video: "When Spreadsheets Attack!"

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

      @@RedFenceAnime I thought he was cute and completely oblivious to the way corporate uses Excel worldwide. Even his worst examples seemed quite reasonable to me, allegedly.

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

      @@ndupontnet like how the NHS lost covid cases because they converted & combined CSV to/in XLS and the rows ran out on daily cases.
      ps cute and oblivious, eww.

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

      I had spreadsheet with macros to automate software installation after windows reinstall...

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

    Woaahhh did you see that Orange Shirt Jeff transformation to Green Shirt Jeff? Mind blown. That has to be the work of Ansible.

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

      Automate your wardrobe!

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

      YaY Dutch soccer team!

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

      Orange-green deployments

    • @31redorange08
      @31redorange08 2 ปีที่แล้ว

      It was a cut.

    • @patrick.denessen
      @patrick.denessen 2 ปีที่แล้ว +4

      I already liked it when I saw the Dutch orange T shirt. Thanks Jeff for supporting the Dutch team :)

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

    I highly recommend Jeff’s book about Ansible: Ansible for DevOps, Server and configuration management for humans.
    Jeff is very casual and accessible in his videos, but trust me, he’s a real pro when it comes down to server automation.
    Collecting technical books is my hobby. Recently I was preparing a new category of books in my collection - Linux hardening and server automation. After a thorough research I decided to place Jeff’s book (I finished reading it a couple days ago) as a go to manual for Ansible in that list. Yes, it’s that good.
    It’s my first comment on this channel and I don’t comment much on YT in general, but - kudos to you, Geerling Guy! Great, great stuff. Keep up the good work.

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

      Thank you, and I love your nickname.

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

      Now you have me curious about other books in your collection. Any other recommendations for Linux hardening and automation?

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

      @@5TY Definitely: Mastering Linux Security and Hardening, Donald A. Tevault (for servers hardening). Also: How Linux Works, Brian Ward (linux in general).
      For nerds only: Site Reliability Engineering: How Google Runs Production Systems (hardcore server automation).

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

    I know exactly what you mean about using a tool you know a lot about for as many uses as possible.
    After a decade spent learning everything to know about my job when I was in the Army, I started using my M1A1 Heavy tank for hard drive destruction.
    Turns out that a 62-ton main battle tank is perfect for destroying 3.5" platter drives on concrete. Crushes 'em flat with very little damage to the tank's track pads.
    I also learned how to cook using the tank's jet turbine engine. Sure, the food tasted a little like diesel fuel but the overall effort was worth it to avoid having to eat another MRE.
    It also worked great for chasing bad guys through houses - just put the main gun tube over the back deck and charge after them.
    Now I'm a network engineer and life is boring as hell.

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

      So... what I'm hearing is every network admin should have an M1A1 tank on call?

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

      > So... what I'm hearing is every network admin should have an M1A1 tank on call?
      @@JeffGeerling America F*CK YEAH!

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

    The full phrasing of "Jeff's Rule of Golden Hammers" is great, and reminds me of a sort of dysfunction I see in some online communities, where, in short, experts gather to share their golden hammer tips without mind for newbies watching and getting bad ideas. So maybe a sort of corollary to go along, "before you start swinging, check who's watching"

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

      Who knew that sledges and axes are interchangeable?

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

    the guy is so smooth that the talk footage and the yt footage just splices flawlessly together

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

      Hehe, you barely notice the wardrobe change ;)

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

    Automating the deployment of Docker Swarm services is actually one my main use cases for Ansible. Docker swarm configs are a bit of a pain to update by hand, and Ansible has been a life saver here.

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

    "There is nothing so permanent as a temporary solution."

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

    When you said you couldn't manage your router with Ansible, it made me wonder if I could manage mine. Sure enough, it looks like there's actually quite a few Ansible libraries and modules for managing Mikrotik devices running RouterOS!

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

      We manage thousands of Mikrotiks via Ansible
      The cli is not really made for automation so we've had to write a lot of built in checks to put in some level of idempotency on some things but it works.

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

    You have a great talent for weaving concepts. Thanks!

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

    What a relief!!!! I'm new with Ansible and I'm using it for everything. I was starting to worry but I realize that I am not alone in this. Thanks for the video,

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

    2:56-3:01 is now the perfect reaction clip for many, many IT-related discussions I participate in.

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

    Jeff this was one of the--if not **THE** best presentation/video you have done. I knew we had a lot of interests in common, and this confirms it. Ansible is one of the best configuration and configuration management tools, and when combined with other leading-edge open-source (from Hashicorp, Docker, etc.), it allows one to manage many. My home "lab" depends on it to manage all of the servers, workstations, network routers and switches, and of course, IOT devices. You've earned a Sugar Fire lunch for this one for sure!

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

    I didn't know you were such a pro, congrats!

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

    I have always loved ansible and the uri module and have always found it a really easy way to script complex http requests, rather than using a shell script. It's doubly useful because you can more easily perform selective queries on the return results, variable substitution, loops, case conversion etc, all with built in functionality. Very handy!

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

      I like it because it's like shell scripts, but more sane.

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

    Everybody watching,
    This guy even bought a solid 24k golden hammer for the content (it is clearly not painted),
    Such commitment, how can you not Subscribe?

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

      All of this year's budget in that prop!
      But seriously, I did slightly damage the paint job on our family minivan painting the thing ;)

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

    I built a fully automated VM deployment system using ansible.
    it's built atop a mysql dynamic inventory, it ingests yaml files for individual VM configs, creates a vm in the correct xcp-ng pool according to the yaml file, and adds it to the dynamic inventory.
    It then dynamically builds debian net install ISOs with templated vars that pull down the preseed files, and is set up so that it will automatically run postinstall playbooks after the OS install completes.
    it's kinda a frankenstein's monster of a platform, with some really ugly accounting for edge-cases, but it does work, and saves a ton of time over the many completely manual installations I had to do before I built it.

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

    Wearing the Dutch KNVB shirt, nice ! (Netherlands soccer association)

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

    Percussive maintenance: the terminology I didn't know I needed and can no longer do without. #RadShirtJeff

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

    I always enjoy your videos, and especially enjoyed your dad showing his chops.
    This video moved you from "oh wow! I should set that up sometime on my montagnard army of Tau" to practical job skill education. Rawk on!

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

    Hey Jeff great video just ordered your book ansible Dev ops can't wait to read it an learn how to do some automation

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

      Good luck, and happy automating!

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

    A orange shirt of the Dutch KNVB. Did not know Jeff was a soccer fan...

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

      The hardest time is when USA and NED match up. Luckily it's been pretty rare!

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

    I need to ansible my job! Then I can go on vacation without the boss knowing!

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

    As a web dev, this was extremely painful. Everything else was an inspiration!

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

    Looking forward to your backup script. Meanwhile, will be using the earlier Ansible projects to manage my Pi cluster & implement similar monitoring & Pi-hole applications. Thanks for the examples & the books. I'm learning a lot in my retirement.

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

    hi Jeff, you might have seen me on the Ansible Community chat. Despite being active in the c.g collection, I actually started using Ansible little more than one year ago, and what drove me to it was almost the same motivation you had for your Mac setup.
    I am a Linux guy at heart, so last year when the laptop crashed for whatever reason and I had to reinstall it, I thought the same thing: "I should really automate that setup". That lead me to the `xfconf` module, which was in dire need of some TLC, which eventually made me the maintainer of that module. From that point on, I've start submitting many contributions and eventually became a co-maintainer of the collection. My personal configuration playbook has increased its size many times over since last year. Last run when through more then 500 tasks (overall, including roles and loops).
    Thanks for all the awesome work you have been doing with Ansible!

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

    I automate the build of all my local kit including laptops and PIs too. Has been invaluable when having to keep in sync, migrate, duplicate or perform OS upgrades. Saved so so much time. Now looking to automate anything else I can as Ansible rocks!

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

    Man, you are helpful! Your ansible chroot role made things very easy for me, thanks so much!

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

    THAT SHIRT!! You earned a like just with the thumbnail of this video!

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

    Thanks!

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

    Well darn. I may have to learn Ansible. You convinced me

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

    Very funny. Twenty or more years ago, AWK was my "golden hammer". Anything and everything, I did with AWK. Not only in UNIX but on Windows, I used MKS Systems UNIX tools for windows, which include an AWK interpreter and an AWK compiler. Very easy way to make executables for a simple task that would run in DOS or Windows.

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

    Not gonna lie, I did not learn a thing, but I enjoyed this video nonetheless. Still waiting for that RX6X00 on the Pi update!

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

      Still working on it :(

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

    I love this video. Great inspiration!

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

    5:15 I guess you need to switch to OpenWRT then you can very much use ansible :D
    Great session btw!

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

      first thing I googled was to see what popular router firmwares could be managed with ansible.

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

    No way Orange shirt😁 Much love from the Netherlands😊

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

    You get points for the guitar on the wall.

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

    That's a golden Birmingham screwdriver!

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

    Maybe the conference should have used ansible to record and distribute the great man's speech....

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

    13:20 Bro, Jeff tagged his repo with "gore" . RIP my man

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

    Learning Ansible Tower right now for my new job. This was super interesting.

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

    Hammering a screw.

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

    Subscribed, as a bit of an IT nerd I love this.

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

    @Jeff would be great to have a video for Salt as well. Even though Ansible is amazing, the lack of support for doing things programmatically (meaning calling roles and playboks via an API and getting JSON results, for example) makes it less than ideal in certain circumstances, while Salt seems to do the job well for the use case.

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

    That is what i call "an explanation" good job ma man!

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

    Like your Shirt :) ! (the orange one that is)

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

    I've been working on Ansible to automate Linux patching. Who wants to sit through several SSH sessions doing apt update && apt update -y whenever updates are available? Ansible *should* make it painless to do just that.

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

    Jeff's Rule of Golden Hammers 😃. I guess Red-Shirt-Jeff got the rest of the golden toolbox: saws and blow torches anyone?

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

      I haven't yet revealed the law of hacksaws and blowtorches.

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

    There used to be a way to curl pip and install it and ansible remotely in the "pre tasks". Don't know how reliable that was but it sure was satisfying.

  • @James-no2oc
    @James-no2oc 2 ปีที่แล้ว +1

    Thanks Jeff

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

    This is a great talk. Thanks Jeff.
    (Now all I have to do is figure out what Ansible is...)
    :D
    Cheers,

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

    The weird and wonderful world that can be automated with Ansible, I built a ci/cd server using ansible and cron. it would poll repos and register the hash of a branch, watching if it changed. Was pretty simple

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

      Simple is good. Simple is easy to maintain!

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

    is ... is that a dutch soccer shirt ??

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

      Why yes, it is! 🇳🇱

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

      @@JeffGeerling Ah, after searching your blog I finally understand. All this time watching your channel and hearing your name it never occurred to me it could be dutch, even though i am a native dutch speaker. I can hear it in dutch clearly now. Pindakaas for all !

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

      @@thygate Mmm, add a little nutella for one of the best treats.

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

    The electrician example is actually pretty funny. There's a special wire stripping tool you can buy at home depot. Right tool for the job? The professional electricians I know don't use those. They just use regular linesman pliers.

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

    Heads off to read up on Ansible... I've got a massive automation nightmare on the horizon, fingers crossed you've just saved me a lot of torn out hair.

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

    Nice dutch football shirt!

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

    Ansible sounds like a good thing to look at for homelab

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

      I'd be up a creek without it! It's reassuring knowing I can rebuild any part of my homelab in minutes without even a full disk image backup.

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

    I've never understood why Ansible looks in the playbook directory for all sorts of plugins (modules, filters, roles, etc.) but AFAICT it's impossible to put collections in the playbook directory. Otherwise git submodules would be a great way to pin the collection dependencies!

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

    Even RedHat used to swear by Ansible to configure Ceph but have finally realized its not the correct tool.....

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

    No way, it's the guy who autocloses all pull requests :D

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

    One of the things I ran into was the speed of ansible was less than ideal, because it did a python ssh connection for each and every step. There were certain things that were just much faster and more streamlined by the builtin module "script" where there were a LOT of steps. For example, we have an application install script that seems like it is built for ansible to run: creation, permission, and installation of files, directories, and packages. But the larger the build, the slower it was on ansible than it was to upload an install script and run that. Like ansible took 11 minutes versus the 5 from a bash script per server. The problem with "script" is the output of the job (its debug module) is very limited, littered with json garbage, and can't handle progress bars. So while I *could* use ansible, I realized it wasn't efficient enough where I *should* use it.

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

      I know some older versions didn't use a persistent SSH connection, but newer versions should by default, I think-meaning your SSH connection is shared among tasks in one playbook making it a bit faster.
      But even so, there are a lot of little performance issues that can add up, and I wish Red Hat took the performance more seriously :(

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

    My golden hammer is "write an over-engineered project in C#". At least you get stuff done!

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

    I wish I had Ansible at Yahoo in ‘98, I’d own the planet now.

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

      Yahoo in 98 was like a different universe.

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

    Just in time for those new MBP's next week...

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

    Did Red Shirt Jeff snug the screw in, instead of a nail (2:00). 😉😁

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

    Take a shot every time he says "Ansible"

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

    My favorite use for Ansible: dynamicly mounting extra EBS volumes and network interfaces on ec2 instances comming up in an ASG to get persistent storage and internal static IPs. least favorite thing: python library conficts with all the other crap runing on ec2 instances that needs python

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

    I had my homeautomation running via ansible playbooks .. if that's uncommon enough :D

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

    thanks Jeff another great video. I have question as you are getting your head around Collections any plans on doing one of your great videos on it???
    Thanks again Jeff

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

    Remember BATCH file in DOS, well it's a bit of a same story too here 😙

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

    I've been using Ansible to bootstrap Salt, as the salt bootstrap script doesn't behave well on "non-baseline" distros (eg. POP_OS, etc). Ansible has also been useful for managing and running Powershell DSC configs against Windows systems (with some minor caveats).

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

    Over the past weekend, i learned how to get and deploy a SSL cert from let's encrypt.

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

    i ve been using Ansible to automate Cloud datacenter build

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

    "if it's stupid and it works, it's not stupid"

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

    I can't post URLs in comments, but there is a semantic versioning library out there for python that would probably make the version comparisons a lot easier.

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

    True connoisseurs will call Orange Shirt Jeff: Oranje Shirt Jeff

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

    11:54 Nothing is more permanent than a temporary solution that works

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

    Percussive maintenance, thats what i call my DIY.

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

    "If it's stupid but it works..."
    I read a study a couple of years ago about co2 levels and its effect on our cognitive function, it dropped significantly at levels as low as 1200ppm. Think it was in the order of 10-30%. At higher levels it dropped by over 50%. High enough and it will be hazardous. Time matters though, you would need to spend some time (hours) with bad air quality for it to have that effect.

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

      Yeah; levels in my office were sometimes reaching 2000-3000 ppm, and I definitely noticed the cognitive decline. Little things like knowing the actual level are immensely helpful.
      I yearn for a day when every room in an office building would include CO2 monitoring.

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

    I'm working on a playbook to set up a bash environment on my workstation and any remote environment.

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

    Me, 21 minutes after pressing play, "I have no idea what I just watched".

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

      21 minutes of your life, right into the realm of the unknown!

  • @marcosalano7769
    @marcosalano7769 2 หลายเดือนก่อน +1

    Jeff, what are you using for DNS these days to get nice addresses for your devices? I think in a couple of years and now the office, DNS entries should skyrocket. You still using Pi-Hole to do that?

    • @JeffGeerling
      @JeffGeerling  2 หลายเดือนก่อน +2

      Pi-hole at home, unbound at office

    • @marcosalano7769
      @marcosalano7769 2 หลายเดือนก่อน

      @@JeffGeerling Nice! I hope you publish the playbooks you use for the equipments in your office network soon!

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

    Anyone noticed that the video is not perfectly synced with audio? (video is slower)

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

    I hate ansible sometimes. There are so many limitations, especially if I need to create a cluster setup and hosts need to know something about other hosts which is not in their facts. Also everything seems to be a string after fiddling with jinja expressions although it should output an integer. So many weird things happen that I wish I could use Python more easily with it. Also the delegate_to functionality is very restricted.
    At the moment I have to invest hours and hours to do simple tasks where a bash or python script would have been just easier. But I also have to use ansible because this is not my personal project.
    In the end it is nice to have it and it works somehow. Nevertheless debugging could be a bit easier...

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

    Summary: if u find yourself writting lots of shell scripts frequently or creating lots of images ... well, Ansible is your tool

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

    I run PowerShell for all my Windows and VMware stuff, but Ansible is one of the next things I want to learn.
    Do you have any Windows examples in your book?

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

    I am still shocked about the change of your T-Shirt and wonder and requesting a hybrid out of Emacs, Excel, Ansible and RedBull (not sponsored but I should stop drinking too much energy drinks).

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

    Ansible runs my D2lod bots like a charm.

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

    Gekoloniseerd

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

    Every tool's a hammer.

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

    When is the Radxa video going to be aired? Can't wait for it :)

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

      It's going to be a big one. Probably some time in November. Plenty of other fun things brewing between now and then though!

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

    nail screw or bolt - who care, hammer is gold. ;)

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

    Mac's in Racks was the unwritten sequel to Fox in Socks 🦊🧦

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

    so ansible is an API? a language or something else?

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

    Hey great video, learning a lot. Can you make video on local DNS server with raspberry pi?

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

    Any chances to see an updated version of Ansible Collections and testing roles with Molecule inside a collection with the dependencies from the same, sibling and external collections? I found it quite "interesting" to figure out, how dependencies should be listed in order for Molecule to work.
    Other thing i do quite often is tie Ansible and Terraform together. Like... i could run Terraform to provision servers and once servers is up Terraform runs Ansible to do the final configuration. On top of that i had integrated that into CI pipeline. If i need new machine, i just push the changes to the remote git, and after couple of minutes i have a new machine ready for a workload. Like this approach pretty much. The only downside of this is that initial infrastructure provisioning should be triggered manually. :) But i think i'm close to deploying Skynet soon. :)

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

      I'm actually working on some Terraform + Ansible work for my 2nd Ansible book, 'Ansible for Kubernetes'. It's been a long time coming though :O

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

      @@JeffGeerling Oh, that's nice! Then i could potentially mention some particular things.
      The Secrets. Any kind of them!
      There is differences do you call Ansible with remote_exec from Terraform or the other way around. If you execute Terraform from Ansible itself, then you can just utilize Ansible's Vault and safely store secrets encrypted in repo itself. If you are executing Ansible from Terraform, then... you need to think how to manage secrets. What i did, was deploying Hashicorps Vault and injected secrets (keys, passwords, TLS, etc) at CI stage (Jenkins has extensions for that).
      Anyway... secret management i found to be quite "interesting".
      Other thing i could mention is environment management. You most likely want to provision staging, production and other environments. How do you structure you project for maximal module reusability? What i did, i made some "external" TF modules, which at local development stage i sourced as local files. But when they are done, i can just switch to sourcing directly from remote git (no need for terraform cloud). Also some was just local modules.
      In Ansible side i also did several environment directories, each containing it's own ssh config and group/host variables.
      Terraform global variables. Still not quite happy with my solution with feeding in some custom *.tfvars file. For example set of dns domains which are the same for different environments. Or some paths, links to storage, etc.
      I am even not sure if i do things right if i am reaching for some kind of global vars.
      Terraform random placeholders. For example you have module which provisions some resource. If user of the module does not provide explicit name of the resource, then you could use things like "random_pet" as fall-back/default/placeholder which you can do only in locals. But again, there are some caveats and bad/good practice rules.
      And lastly, i found really great way to test the whole setup by utilizing "dmacvicar/libvirt" provider, which allows to to spin up virtual environment without paying for Bezos space flights. :)
      Overall really interesting topic!

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

    Sooo. When are you going to start lecturing on my university?

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

    Being Dutch myself I really like to know the story behind your KNVB t-shirt.

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

      The Geerlings family name comes from part of Holland, and there are still a number left there today!

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

      @@JeffGeerling No doubt! I know a few, probably not related. Love your shows btw. They always hit my g.a.s. spot!

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

    (But maybe not for screws) 3:28 😂

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

    But can ansible do faster then light communication