andreaswolf / ansible-role-letsencrypt

Ansible role for generating certificates with acme-tiny via Let’s encrypt
46 stars 20 forks source link

Running role more than once errors #6

Closed SuperQ closed 8 years ago

SuperQ commented 8 years ago

If you try and re-play the role, it fails. :-(

TASK [andreaswolf.letsencrypt : generate the initial certificate] **************
fatal: [XXXX]: FAILED! => {"failed": true, "msg": "ERROR! The conditional check ''error' in generate_initial_cert.stdout or 'Error' in generate_initial_cert.stdout or 'Error' in generate_initial_cert.stderr' failed. The error was: ERROR! an unexpected type error occurred. Error was argument of type 'bool' is not iterable"}
andreaswolf commented 8 years ago

Weird. Could you paste the contents of /var/lib/letsencrypt/renew-certs.py? You can of course anonymize it if necessary…

andreaswolf commented 8 years ago

I just realized that I had some unpushed commits lurking on my harddisk. If you check again with current master, it might work already…

ludovicc commented 8 years ago

I do not see this problem any more.

andreaswolf commented 8 years ago

Me neither, so I’m closing this for now. @SuperQ and others: feel free to reopen it in case the error occurs again!