Only create LE directory if production is true

This commit is contained in:
2022-05-27 00:06:09 -04:00
parent e346180b13
commit 03a57d2531

View File

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