ansible-playbooks/ubuntu/roles/php/tasks/main.yml
2017-01-14 14:17:50 +00:00

12 lines
291 B
YAML

---
- name: Install PHP libraries
apt: pkg={{ item }} state=latest
with_items:
- php-mysql
- php-xml
- name: Install php-fpm
apt: pkg=php-fpm state=latest
- name: Start PHP-FPM daemon, and make sure it is started on boot
service: name=php7.0-fpm state=started enabled=yes