Skip to content

Commit

Permalink
Prevent nginx config cleanup for cert update
Browse files Browse the repository at this point in the history
  • Loading branch information
Szpadel authored and krisdante committed Aug 31, 2020
1 parent 7c868a4 commit 3871587
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/cs.nginx/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ nginx_config_cleanup_dirs:
- "{{ nginx_serverd_dir }}"
- "{{ nginx_modules_conf_dir }}"


nginx_config_cleanup: yes
2 changes: 1 addition & 1 deletion roles/cs.nginx/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- name: Reload nginx configs
include_tasks: 099-cleanup.yml
when: nginx_config_cleanup

- name: Restart nginx
service: name=nginx state=restarted

- name: Reload nginx
service: name=nginx state=reloaded

2 changes: 1 addition & 1 deletion site.maintenance.update-certificates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
when: mageops_https_termination_enable
vars:
nginx_blacklist_urls: "{{ nginx_blacklist_urls_default + nginx_blacklist_urls_project | default([]) }}"

nginx_config_cleanup: no

0 comments on commit 3871587

Please sign in to comment.