mise au point config apache, y compris certificats

This commit is contained in:
2021-12-06 16:00:34 +01:00
parent 85722d6239
commit 44cbe32f72
13 changed files with 258 additions and 71 deletions

37
tasks/apache.yml Normal file
View File

@@ -0,0 +1,37 @@
- name: install apache itk
apt:
name: libapache2-mpm-itk
state: present
- name: activate required modules
apache2_module:
state: present
name: "{{ item }}"
loop:
- rewrite
- proxy
- proxy_http
- ssl
- cgi
notify: reload apache
- name: configuration
template:
src: "{{ item }}"
dest: /etc/apache2/sites-enabled/
notify: reload apache
loop:
- apache-intranet.conf
- apache-opac.conf
- name: configuration - shared files
template:
src: "{{ item }}"
dest: "{{ koha_install_dir }}/etc/"
loop:
- apache-shared-api-acl.conf
- apache-shared-intranet-plack.conf
- apache-shared-opac-plack.conf
notify: reload apache