mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
link 20-stem.ini in php-stem.yml
This commit is contained in:
parent
4f766b6e17
commit
f3a8e30256
2 changed files with 5 additions and 13 deletions
|
@ -49,18 +49,6 @@
|
||||||
msg: roles/nginx/tasks/homepage.yml will run LATER (invoked by roles/www_options/tasks/main.yml) SO THAT NGINX CAN REDIRECT http://box TO http://box{{ iiab_home_url }} (based on var iiab_home_url)
|
msg: roles/nginx/tasks/homepage.yml will run LATER (invoked by roles/www_options/tasks/main.yml) SO THAT NGINX CAN REDIRECT http://box TO http://box{{ iiab_home_url }} (based on var iiab_home_url)
|
||||||
# - include_tasks: roles/nginx/tasks/homepage.yml
|
# - include_tasks: roles/nginx/tasks/homepage.yml
|
||||||
|
|
||||||
# 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
|
|
||||||
ignore_errors: yes
|
|
||||||
#when: php_version != 7.4
|
|
||||||
#when: nginx_enabled | bool
|
|
||||||
|
|
||||||
- name: Restart php{{ php_version }}-fpm systemd service
|
- name: Restart php{{ php_version }}-fpm systemd service
|
||||||
systemd:
|
systemd:
|
||||||
name: "php{{ php_version }}-fpm"
|
name: "php{{ php_version }}-fpm"
|
||||||
|
|
|
@ -33,7 +33,11 @@
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
when: ansible_machine == "x86_64"
|
when: ansible_machine == "x86_64"
|
||||||
|
|
||||||
# link to php done in roles/nginx/tasks/install.yml when php-fpm is installed
|
- 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
|
||||||
|
|
||||||
# Not sure what to do for apache, so do nothing for now
|
# Not sure what to do for apache, so do nothing for now
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue