Skip to content

Commit

Permalink
Reload NGINX if SSL cert is updated (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcox10 authored Jul 18, 2023
1 parent 92e9436 commit c29f2da
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.7.1 (Unreleased)

BUG FIXES:

- Add handler to reload NGINX when SSL cert or key is changed.

## 0.7.0 (July 6, 2023)

BREAKING CHANGES:
Expand Down
2 changes: 2 additions & 0 deletions tasks/config/upload-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
backup: "{{ item['backup'] | default(true) }}"
mode: "0640"
loop: "{{ nginx_config_upload_ssl_crt }}"
notify: (Handler - NGINX Config) Run NGINX

- name: Upload NGINX SSL keys
ansible.builtin.copy:
Expand All @@ -62,4 +63,5 @@
backup: "{{ item['backup'] | default(true) }}"
mode: "0640"
loop: "{{ nginx_config_upload_ssl_key }}"
notify: (Handler - NGINX Config) Run NGINX
no_log: true

0 comments on commit c29f2da

Please sign in to comment.