PHP-FPM daemon should be in a started state.

This commit is contained in:
staticsafe 2017-01-13 02:49:33 +00:00
parent eb644482c3
commit baf710fc32
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
---
- name: Install php-fpm
apt: pkg=php-fpm state=latest
- name: Stop the php-fpm daemon for now and ensure it starts on boot
service: name=php7.0-fpm state=stopped enabled=yes
- name: Start PHP-FPM daemon, and make sure it is started on boot
service: name=php7.0-fpm state=started enabled=yes