
Ansible vs Fabric
I'm trying to love Ansible, but ansible-playbook -i inventory.ini --sudo -v certbot-renew.yml
is just messy compared to say fab certbot-renew
.
uıɐɾ ʞ ʇɐɯɐs likes this.

>> Ben Sturmfels:
“>that I might only run now and again.”
Fair enough. In salt, you would put your host-specific states in top.sls. Then you can just run salt '*' state.highstate when you need to redeploy/update/whatever and forget about running any certbot-related commands, states or playbooks directly ever again. :)

Screwtape at 2017-05-08T08:45:09Z
Ben Sturmfels likes this.

Ansible's config system is also a turing tarpit, and the tarpit is getting deeper and stickier
Christopher Allan Webber at 2017-05-08T19:29:49Z
Ben Sturmfels, clacke@libranet.de ❌ likes this.

Thanks for these tips @Screwtape. I've now mostly switched across from Trisquel 8 to GuixSD for my daily work, so appreciating the newer version of Ansible with the features you mentioned (inventory=inventory.ini
in ansible.cfg and become: true
in playbook file).