1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

wait for php-fpm to be installed

This commit is contained in:
Tim Moody 2020-01-25 15:03:01 -05:00
parent 778b2dc42d
commit 2d722f5168
2 changed files with 16 additions and 12 deletions

View file

@ -23,18 +23,7 @@
remote_src: yes
when: ansible_machine == "x86_64"
- name: Create softlink 20-stem.ini to /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: nginx_enabled
- name: Restart php{{ php_version }}-fpm service
service:
name: "php{{ php_version }}-fpm"
state: restarted
when: nginx_enabled
# link to php done in nginx when php-fpm is installed
# Not sure what to do for apache, so do nothing for now