1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

Install Apache modules upfront, not in {kiwix, kolibri, nodered}

This commit is contained in:
A Holt 2019-10-07 14:09:21 -04:00 committed by GitHub
parent 02838d27e5
commit be41ce777d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,12 +103,24 @@
- mpm_prefork.load
when: is_debuntu | bool
- name: 'Turn on mod_proxy using a2enmod with: proxy, proxy_html, headers, rewrite (debuntu)'
command: a2enmod {{ item }}
#- name: 'Turn on mod_proxy using a2enmod with: proxy, proxy_html, headers, rewrite (debuntu)'
# command: a2enmod {{ item }}
# with_items:
# - proxy
# - proxy_html
# - headers
# - rewrite
# when: is_debuntu | bool
#
# 2019-10-07: proxy_http is definitely essential! (WHICH OF THE OTHER 4 ARE NOT NEEDED ?)
- name: 'Enable the 5 Apache modules, as with "a2enmod" command: headers, proxy, proxy_html, proxy_http, rewrite (for {http://box/kiwix, http://box/kolibri, http://box/nodered, etc}, if debuntu)'
apache2_module:
name: "{{ item }}"
with_items:
- headers
- proxy
- proxy_html
- headers
- proxy_http
- rewrite
when: is_debuntu | bool