ansible-php/tasks/php55min.yml

15 lines
347 B
YAML
Raw Normal View History

2015-07-23 15:40:33 +07:00
---
- name: APT | Install php-apcu
apt: pkg=php5-apcu state=latest
2015-07-24 14:49:16 +07:00
- name: SET_FACT | Set APCu
set_fact: php_apc_package="apcu"
2015-07-23 15:40:33 +07:00
- name: TEMPLATE | Configure Opcache / APCu
2015-07-23 23:10:17 +07:00
template: src=etc/php5/mods-available/{{ item }}.ini.j2 dest=/etc/php5/mods-available/{{ item }}.ini
2015-07-23 15:40:33 +07:00
with_items:
- apcu
- opcache
notify: restart php-fpm