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:
parent
02838d27e5
commit
be41ce777d
1 changed files with 15 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue