Redémarre apache après MAJ du certificat
This commit is contained in:
parent
125e0671df
commit
905508a3af
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue