Variabilisation des certificats supplémentaires

This commit is contained in:
Navas 2024-10-23 22:28:02 +02:00
parent 1749a00e25
commit 526d78de11

View file

@ -200,7 +200,8 @@
mode: u=rw,g=r,o=r mode: u=rw,g=r,o=r
owner: root owner: root
group: root group: root
with_items: "{{ reverse_proxy_additional_certificates }}" with_items:
- "{{ reverse_proxy_additional_certificates }}"
notify: notify:
- restart apache2 - restart apache2
@ -213,7 +214,8 @@
mode: u=rw,g=r,o= mode: u=rw,g=r,o=
owner: root owner: root
group: root group: root
with_items: "{{ reverse_proxy_additional_certificates }}" with_items:
- "{{ reverse_proxy_additional_certificates }}"
notify: notify:
- restart apache2 - restart apache2
@ -221,7 +223,8 @@
template: template:
src: "cert_template.conf" src: "cert_template.conf"
dest: /etc/apache2/certs-conf/cert_{{ item.name }}.conf dest: /etc/apache2/certs-conf/cert_{{ item.name }}.conf
with_items: "{{ reverse_proxy_additional_certificates }}" with_items:
- "{{ reverse_proxy_additional_certificates }}"
notify: notify:
- restart apache2 - restart apache2
@ -229,4 +232,3 @@
- name: install - active apache2 - name: install - active apache2
tags: install tags: install
service: name=apache2 state=started enabled=yes service: name=apache2 state=started enabled=yes