ansible-php/tasks/fpm.yml

11 lines
266 B
YAML
Raw Normal View History

2015-07-23 15:40:33 +07:00
---
- name: APT | Install PHP-FPM
apt: pkg=php5-fpm state=latest
- name: LINEINFILE | PHP configuration
lineinfile: dest=/etc/php5/fpm/php.ini regexp='^;?{{ item.key }}' line='{{ item.key }} = {{ item.value }}'
with_items: php_ini
notify: restart php-fpm