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:
parent
778b2dc42d
commit
2d722f5168
2 changed files with 16 additions and 12 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue