From 905508a3afc1b1cebd54fe0f634289314733db72 Mon Sep 17 00:00:00 2001 From: Olivier Navas Date: Sun, 13 Oct 2024 09:49:46 +0200 Subject: [PATCH] =?UTF-8?q?Red=C3=A9marre=20apache=20apr=C3=A8s=20MAJ=20du?= =?UTF-8?q?=20certificat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup-env.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/setup-env.yml b/setup-env.yml index 28e3b4a..5757ffe 100644 --- a/setup-env.yml +++ b/setup-env.yml @@ -65,6 +65,7 @@ group: www-data mode: u=rw,g=r,o= tags: apache + notify: Restart-apache - name: Copie du certificat wildcard libretic ansible.builtin.copy: @@ -73,6 +74,7 @@ remote_src: true mode: u=rw,g=r,o= tags: apache + notify: Restart-apache - name: Copie de la clé wildcard libretic ansible.builtin.copy: @@ -81,11 +83,18 @@ mode: u=rw,g=r,o= remote_src: true tags: apache + notify: Restart-apache roles: - role: ansible-role-apache tags: apache + handlers: + - name: Restart-apache + ansible.builtin.service: + name: apache2 + state: restarted + - name: Setup rp pour ressources hosts: rp_ressources