ansible/roles/php/tasks/main.yml

11 lines
372 B
YAML
Raw Normal View History

2014-08-12 15:43:53 +00:00
- 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