diff --git a/roles/proxy/tasks/main.yml b/roles/proxy/tasks/main.yml index 44c0aa0..171ed09 100644 --- a/roles/proxy/tasks/main.yml +++ b/roles/proxy/tasks/main.yml @@ -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: