1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/httpd/tasks/php-stem.yml

42 lines
1.4 KiB
YAML
Raw Normal View History

2018-07-18 22:26:36 +00:00
# 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
2018-07-18 22:17:33 +00:00
#- name: Download php-stem.rpi.tar
# command: cd /; wget http://download.iiab.io/packages/php-stem.rpi.tar
# when: is_rpi
#- name: Download php-stem.x86.tar
# command: cd /; wget http://download.iiab.io/packages/php-stem.x64.tar
# when: not is_rpi
- name: Download & unpack php-stem.rpi.tar to / (rpi)
unarchive:
src: http://download.iiab.io/packages/php-stem.rpi.tar
dest: /
2018-07-18 22:26:36 +00:00
owner: root
group: root
#mode: ????
2018-07-18 22:17:33 +00:00
remote_src: yes
when: is_rpi
2018-08-07 21:55:10 +00:00
- name: Download & unpack php-stem.x86.tar to / (debian-9 on x86_64 only)
2018-07-18 22:17:33 +00:00
unarchive:
src: http://download.iiab.io/packages/php-stem.x64.tar
dest: /
2018-07-18 22:26:36 +00:00
owner: root
group: root
#mode: ????
2018-07-18 22:17:33 +00:00
remote_src: yes
2018-08-07 21:49:05 +00:00
when: is_debian_9 and (ansible_machine == "x86_64")
# Presumably fails on Debian 8 & 10?
2018-08-07 21:43:34 +00:00
# Fails on Debian i686 as of 2018-08-07: https://github.com/iiab/iiab/issues/983
2018-08-07 21:49:05 +00:00
# Fails on Ubuntu 18.04 as of 2018-07-28: https://github.com/iiab/iiab/issues/829
2018-07-18 22:17:33 +00:00
2018-07-18 22:42:16 +00:00
# No need to do this twice? Happens later @ https://github.com/iiab/iiab/blob/master/roles/3-base-server/tasks/main.yml#L24-L28
#- name: Restart apache2 / httpd
# service:
# name: "{{ apache_service }}"
# state: restarted