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
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. :)
Ben Sturmfels 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).