Redémarre apache après MAJ du certificat

This commit is contained in:
Navas 2024-10-13 09:49:46 +02:00
parent 125e0671df
commit 905508a3af

View file

@ -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