ansible/roles/php/tasks/main.yml
2014-08-12 17:43:53 +02:00

11 lines
372 B
YAML

- name: install php-fpm
pacman: name=php-fpm state=present
- name: Enable php-fpm
service: name=php-fpm state=started enabled=yes
- name: php-fpm.ini
template: src=php-fpm.conf.j2 dest=/etc/php/php-fpm.conf mode=0644 backup=yes
notify: restart php-fpm
- name: php.ini
template: src=php.ini.j2 dest=/etc/php/php.ini mode=0644 backup=yes
notify: restart php-fpm