summaryrefslogtreecommitdiffstats
path: root/roles/nginx/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/tasks/main.yml')
-rw-r--r--roles/nginx/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/nginx/tasks/main.yml b/roles/nginx/tasks/main.yml
index 4d4b085..2e01d22 100644
--- a/roles/nginx/tasks/main.yml
+++ b/roles/nginx/tasks/main.yml
@@ -24,7 +24,7 @@
creates: /etc/ssl/dh4096.pem
notify:
- restart nginx
- when: dhparams is not defined
+ when: dhparams is not defined and nginx_skip_dhparams == False
- name: Fix dhparams privileges
file:
@@ -34,6 +34,7 @@
mode: 0644
notify:
- restart nginx
+ when: nginx_skip_dhparams == False
- name: Ensure about snippets directory
file: