From a836239a42beeb25a3e5cc4583b448974a89af8a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 5 Feb 2019 23:42:17 +0100 Subject: [PATCH] restart synapse if some file in cert chain changed --- tasks/tls.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/tls.yml b/tasks/tls.yml index 941b88d..d638dca 100644 --- a/tasks/tls.yml +++ b/tasks/tls.yml @@ -25,11 +25,13 @@ - { src: "{{ matrix_tls_cert_source }}", dest: '{{ matrix_tls_cert_path }}', mode: '0650' } loop_control: label: "{{ item.dest }}" + notify: __matrix_restart - name: Create Diffie-Hellman Parameter openssl_dhparam: path: "{{ matrix_tls_dhparam_path }}" size: "{{ matrix_tls_dhparam_size }}" when: matrix_tls_dhparam_path is defined + notify: __matrix_restart become: True become_user: "{{ matrix_user }}"