• eodur@piefed.social
    link
    fedilink
    English
    arrow-up
    6
    ·
    12 hours ago

    I finally switched away from it on my workstations a couple years ago, but I haven’t taken the trouble to move my servers yet. I dont want to rewrite all those ansible playbooks. And its stable enough once you remove all the junk, which is 90% of my playbooks…

    • jdr@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      9 hours ago

      Isn’t the point of Ansible that it doesn’t depend on the underlying distro?

      • neclimdul@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        the idea would be to have playbooks support all distros but any infrastructure as code has to have distro specific code for package names and subtle differences in config.

        But you’ve got the right idea. the point is that you can test that and then you depend on the distro less because your playbook takes care of the complexity.

        • jdr@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 hours ago

          Ya, I was being a bit glib, because that’s how it was pitched to me, but in my limited experience it never even nearly lived up to that. It’s so great to have generic functions to install a package or change a setting, but maybe too Quixotic to assume it’ll usually work.

        • jdr@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          A certain world’s most valuable company wasted me a huge amount of time by supplying a smorgasbord of ever-so-slightly broken playbooks that borked my extremely expensive servers running the official OS.

          If you’re going to be un portable and broken let’s cut out the middleman and just use bash scripts.

              • Tony Wu@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                52 minutes ago

                Making playbook portable is a choice, but there are other benefits like error handling and conditional and delayed actions that you can’t easily do with bash.

              • frongt@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 hours ago

                Running something against a bunch of systems. Ideally idempotence, too, unless you’re doing something unsupported and then it’s up to you to ensure.

    • carrylex@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      10 hours ago

      I basically had the same problem for my servers (that mostly run containers) and Debian was the perfect drop-in replacement

      • eodur@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 hours ago

        Yeah, that’s the likeliest switch. Or maybe fedora. I switched my workstations to Bazzite DX, so something fedora based would keep things more consistent.