mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
44 lines
1.5 KiB
YAML
44 lines
1.5 KiB
YAML
# Fixes search @ http://box/modules/es-wikihow (popular with Spanish youth)
|
|
# Source code: http://download.iiab.io/packages/php-stem.src.tar
|
|
# June 2018 debugging & compilation thanks to Tim Moody & George Hunt
|
|
# Original bug: https://github.com/iiab/iiab/issues/829
|
|
|
|
- name: Unarchive http://download.iiab.io/packages/php-stem{{ php_version }}.rpi.tar to / (rpi)
|
|
unarchive:
|
|
src: http://download.iiab.io/packages/php-stem{{ php_version }}.rpi.tar
|
|
dest: /
|
|
owner: root
|
|
group: root
|
|
#mode: ????
|
|
remote_src: yes
|
|
when: is_rpi | bool
|
|
|
|
- name: Unarchive http://download.iiab.io/packages/php-stem{{ php_version }}.x64.tar to / (x64)
|
|
unarchive:
|
|
src: http://download.iiab.io/packages/php-stem{{ php_version }}.x64.tar
|
|
dest: /
|
|
owner: root
|
|
group: root
|
|
#mode: ????
|
|
remote_src: yes
|
|
when: ansible_machine == "x86_64"
|
|
|
|
- name: Create softlink osm.conf from sites-enabled to sites-available (debuntu)
|
|
file:
|
|
src: "/etc/php/{{ php_version }}/mods-available/stem.ini"
|
|
path: "/etc/php/{{ php_version }}/fpm/conf.d/20-stem.ini"
|
|
state: link
|
|
when: nginx_enabled
|
|
|
|
- name: Restart php{{ php_version }}-fpm service
|
|
service:
|
|
name: "php{{ php_version }}-fpm"
|
|
state: restarted
|
|
when: nginx_enabled
|
|
|
|
# Not sure what to do for apache, so do nothing for now
|
|
|
|
# The following are probably no longer true 2020-01025
|
|
# Presumably fails on Debian 8 & 10?
|
|
# Fails on Debian i686 as of 2018-08-07: https://github.com/iiab/iiab/issues/983
|
|
# Fails on Ubuntu 18.04 as of 2018-07-28: https://github.com/iiab/iiab/issues/829
|