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 group: www-data
mode: u=rw,g=r,o= mode: u=rw,g=r,o=
tags: apache tags: apache
notify: Restart-apache
- name: Copie du certificat wildcard libretic - name: Copie du certificat wildcard libretic
ansible.builtin.copy: ansible.builtin.copy:
@ -73,6 +74,7 @@
remote_src: true remote_src: true
mode: u=rw,g=r,o= mode: u=rw,g=r,o=
tags: apache tags: apache
notify: Restart-apache
- name: Copie de la clé wildcard libretic - name: Copie de la clé wildcard libretic
ansible.builtin.copy: ansible.builtin.copy:
@ -81,11 +83,18 @@
mode: u=rw,g=r,o= mode: u=rw,g=r,o=
remote_src: true remote_src: true
tags: apache tags: apache
notify: Restart-apache
roles: roles:
- role: ansible-role-apache - role: ansible-role-apache
tags: apache tags: apache
handlers:
- name: Restart-apache
ansible.builtin.service:
name: apache2
state: restarted
- name: Setup rp pour ressources - name: Setup rp pour ressources
hosts: rp_ressources hosts: rp_ressources