ansible-playbooks/ubuntu/roles/appservers-php/tasks/main.yml
staticsafe 550c81b78f Add a slightly modified playbook for Ubuntu systems.
- No need for nginx repo anymore.
2015-05-24 13:23:21 -04:00

10 lines
326 B
YAML

---
- name: Install php5-fpm
apt: pkg=php5-fpm state=latest
- name: Stop the php5-fpm daemon for now and ensure it starts on boot
service: name=php5-fpm state=stopped enabled=yes
- name: Copy over the php5-fpm www pool config
copy: src=www.conf dest=/etc/php5/fpm/pool.d/www.conf backup=yes
notify:
- start php5-fpm