Files
tco.koha/tasks/apache.yml
Thomas Constans f9cfd9ccc1 correction pb permissions sur rep run et log
ajout var environnement pour plack
reorganisation des taches apache
2021-12-06 18:22:41 +01:00

39 lines
696 B
YAML

- name: install apache itk
apt:
name: libapache2-mpm-itk
state: present
- 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
- name: activate required modules
apache2_module:
state: present
name: "{{ item }}"
loop:
- rewrite
- proxy
- proxy_http
- ssl
- headers
- cgi
notify: reload apache