Ansible Module to speak ACME


#1

Has anyone created an Ansible module to create certificates and get them signed by an ACME server? Seems like it’d be pretty easy, since all of the Lets Encrypt client stuff is in Python and Ansible modules are written in Python. I didn’t find anything while Googling, but I wanted to check here before I started doing it myself


#2

Welp, ended up starting one myself. Working on it here. not a module, just a role that downloads the letsencrypt program and uses it to make a cert. Lots of edge cases that need to be worked on (and not-so-edge cases), if anyone wants to submit pull requests


#3

Note that my current role only works on Debian (I’ve tested Jessie) and probably most Debian-derivatives. If someone wanted to help with other distros (eg RPM-based distros) that’d be cool