Only create LE directory if production is true

This commit is contained in:
Kris Lamoureux 2022-05-27 00:06:09 -04:00
parent e346180b13
commit 03a57d2531
Signed by: kris
GPG Key ID: 3EDA9C3441EDA925

View File

@ -62,6 +62,7 @@
file:
path: /etc/letsencrypt/renewal-hooks/post
state: directory
when: proxy.production is defined and proxy.production
- name: Install nginx post renewal hook
copy: