Skip to content

Commit

Permalink
Merge pull request #330 from dockpack/bugfix/tls_cert_update_restart
Browse files Browse the repository at this point in the history
Fix for #256 Consul not reloaded when TLS files change.
  • Loading branch information
brianshumate committed Oct 10, 2019
2 parents 81764b9 + 2d32285 commit d230e26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/tls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
owner: "{{ consul_user }}"
group: "{{ consul_group }}"
mode: 0644
notify: restart consul

- name: Copy server certificate
copy:
Expand All @@ -27,6 +28,7 @@
owner: "{{ consul_user }}"
group: "{{ consul_group }}"
mode: 0644
notify: restart consul

- name: Copy server key
copy:
Expand All @@ -36,5 +38,6 @@
owner: "{{ consul_user }}"
group: "{{ consul_group }}"
mode: 0600
notify: restart consul

when: consul_tls_copy_keys | bool

0 comments on commit d230e26

Please sign in to comment.