Externalisation de la configuration du vhost du reverse proxy

This commit is contained in:
Navas 2022-06-27 17:59:09 +02:00
parent 9baee875c1
commit f1b28cc219
6 changed files with 0 additions and 22 deletions

View File

@ -1,4 +1,3 @@
docker_ldapmanager_rp_cert: LE
docker_ldapmanager_username_format: "{first_name}.{last_name}"
docker_ldapmanager_account_additional_objectclasses: "PostfixBookMailAccount,ownCloud"
docker_ldapmanager_account_additional_attributes: "registeredAddress:Adresse de récupération,mailAlias:mail Alias,mailQuota:mail Quota,ownCloudQuota:nextCloud Quota"

View File

@ -3,8 +3,3 @@
docker-compose up -d
args:
chdir: /opt/{{ docker_ldapmanager_service_id }}/
- name: reverse-proxy-reload
service:
name: apache2
state: reloaded

View File

@ -1,11 +0,0 @@
- name: prepare reverse_proxy
template:
src: "{{ item }}"
dest: /etc/apache2/vhosts.d/{{ docker_ldapmanager_fqdn }}/
with_items:
- 0_vhost.conf
- 1_vhost_additional.conf
- 2_mds_exclusion.conf
notify: reverse-proxy-reload

View File

@ -1,2 +0,0 @@
# {{ ansible_managed }}
Use vhost_HTTPS_Generic {{ docker_ldapmanager_fqdn }} {{ docker_ldapmanager_rp_cert }} http {{ docker_ldapmanager_rp_docker_host }} info {{ docker_ldapmanager_rp_access_policy }} BlockCrawlerIndexing Off

View File

@ -1 +0,0 @@
# {{ ansible_managed }}

View File

@ -1,2 +0,0 @@
# {{ ansible_managed }}