mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #2345 from tim-moody/med-vars
Med vars & php-stem error handling
This commit is contained in:
commit
ac1a3c3214
3 changed files with 20 additions and 2 deletions
|
@ -51,12 +51,14 @@
|
|||
|
||||
# php-stem extension installed by roles/www_base/tasks/php-stem.yml
|
||||
# here it is linked to php-fpm
|
||||
# we skip any errors which probably due to the lack of the .so for the current platform
|
||||
- name: Symlink /etc/php/{{ php_version }}/fpm/conf.d/20-stem.ini -> /etc/php/{{ php_version }}/mods-available/stem.ini
|
||||
file:
|
||||
src: "/etc/php/{{ php_version }}/mods-available/stem.ini"
|
||||
path: "/etc/php/{{ php_version }}/fpm/conf.d/20-stem.ini"
|
||||
state: link
|
||||
when: php_version != 7.4
|
||||
ignore_errors: yes
|
||||
#when: php_version != 7.4
|
||||
#when: nginx_enabled | bool
|
||||
|
||||
- name: Restart php{{ php_version }}-fpm systemd service
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
- include_tasks: html.yml
|
||||
|
||||
- include_tasks: php-stem.yml
|
||||
when: php_version != 7.4
|
||||
when: php_version < 7.4
|
||||
|
||||
- name: Create dir {{ doc_root }}/home -- if you customized var iiab_home_url e.g. in /etc/iiab/local_vars.yml, that dir is created later -- by www_options/tasks/main.yml
|
||||
file:
|
||||
|
|
16
vars/local_vars_medical.yml
Normal file
16
vars/local_vars_medical.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Default overrides
|
||||
kalite_install: False
|
||||
kalite_enabled: False
|
||||
captive_portal_install: True
|
||||
captive_portal_enabled: True
|
||||
mediawiki_install: True
|
||||
mediawiki_enabled: True
|
||||
osm_vector_maps_install: False
|
||||
osm_vector_maps_enabled: False
|
||||
munin_install: True
|
||||
munin_enabled: True
|
||||
vnstat_install: True
|
||||
vnstat_enabled: True
|
||||
# By default
|
||||
# kiwix
|
||||
# awstats
|
Loading…
Add table
Reference in a new issue