top | item 39410522

(no title)

zeroDivisible | 2 years ago

I've got a bunch of Ansible scripts, written in around 2013 or so - and then constantly tweaked over the years. Code quality isn't the greatest, but I've been using them to provision a bunch of laptops, Linux PCs, etc. They work good enough that I didn't search for a replacement yet. There's always a thing which needs fixing with these scripts, which is to be expected for something which is only fired every so often.

Hardest part of using them is remembering to do any config changes in Ansible repos and not directly in config files.

I have diverging logic, branching off usernames and group memberships to treat given machine as "personal" or "work" - and then configure certain settings differently. I'm using ansible-vault for secrets like SSH keys, etc.

New machine provisioning is usually just installation of a package manager (if not present, like brew), and installation of Ansible.

discuss

order

No comments yet.