artefactual-labs / ansible-acmetool

An Ansible role for installing the acmetool Let's Encrypt client
GNU Affero General Public License v3.0
5 stars 4 forks source link

Problem: Site unreachable when role fails #12

Open mamedin opened 6 years ago

mamedin commented 6 years ago

When this role fails, for example when running the "acmetool: want" step, the acmetool temporary site is not deleted and a manual deletion of the /etc/nginx/sites-enabled/00-acmetool file is required.

I think we can manage this error and restore the previous Nginx setup before aborting the execution of the role.

DavidHume-ArtefactualSystems commented 5 years ago

@mamedin - believe this concern addressed by now merged pull/16