I would like to have a mechanism to set up a server automagically…

Similarly I would like to set up my user account settings (Tmux plugins, .zshrc and vim settings, etc) that I can replicate in multiple machines via a script (I have a custom script for this but I want a more solid alternative)

Thoughts on what infra-as-code solution would work best? Any similar experiences or use cases with one Thanks!
Cc @[email protected] @[email protected]

  • @MajorHavoc
    link
    161 year ago

    I think you’re looking for Ansible. Have fun!

    The difference between an Anible playbook and a script, is Ansible has a ‘check’, ‘change’, ‘verify’ pattern, and is declarative (meaning that once the playbook is made, it tends to keep working on future versions of Ansible.)

    • @marx2k
      link
      -11 year ago

      Ehhh… as someone who does devops, you should dive into ansible core changelogs on github sometime ;)

      • @MajorHavoc
        link
        21 year ago

        I assume you mean to check on his often they’re is the breaking changes? :)

        Declarative style isn’t perfect, but it’s a massive improvement from straight bash scripting.

        • @marx2k
          link
          21 year ago

          💯

          We’re an ansible shop and yeah it’s better than bash scripting (where it makes sense) but ansible… man it does have some peculiarities :/