It’s not about the destination, it’s about the journey.

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    35
    arrow-down
    4
    ·
    7 months ago

    Or, they could learn Ansible and get 80% of the way, and be able to reproduce the result on more than one OS. 🥹

    • 2xsaiko@discuss.tchncs.de
      link
      fedilink
      arrow-up
      16
      ·
      7 months ago

      Nix is not something exclusive to NixOS, and people are already using it to make reproducible configs that work on more than one OS.

      I’m even using Ansible in what I’m currently building with Nix, because it does one thing well that I need to do: distribute files and run commands on a lot of hosts at once.

      • sunstoned@lemmus.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        In my head they’re different use cases. Nix is amazing for a living build. Ansible is more pigeon-holed to production systems where you don’t want (or need) that history baked into every system

    • Something Burger 🍔@jlai.lu
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      7 months ago

      That is, until a new Ansible version breaks playbooks again, or an OS is updated in a way that messes with you playbooks, or a package is removed from the playbook but not the installed system…

      Ansible is good for ephemeral containers or VMs, but any more permanent system will eventually deviate from the set configuration.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        7 months ago

        I use Salt BTW, but I’d be using Ansible if my previous-previous job didn’t force me into Salt. 🤭

    • iopq@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 months ago

      Getting only 80% of the way there is why it never worked before for the whole system

      Where’s Ansible OS?