1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00

hitchhiker to skip errors on stem.so

This commit is contained in:
Tim Moody 2020-04-18 14:44:15 -04:00
parent d046f1f3c2
commit b5279e9422

View file

@ -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