roles/nginx/tasks/main.yaml
changeset 92 d4924111ce28
parent 82 a3e1a9b18f6d
--- a/roles/nginx/tasks/main.yaml	Mon Jan 20 14:19:05 2020 -0600
+++ b/roles/nginx/tasks/main.yaml	Mon Jan 20 15:26:33 2020 -0600
@@ -18,7 +18,7 @@
 - name: install certbot in nginx
   become: yes
   command: "certbot certonly --nginx -n --agree-tos -d {{nginx_server_name}} -m {{nginx_admin_email}}"
-  notify: restart nginx
+  changed_when: false
   when: nginx_enable_certbot
 
 - name: disable default site