2016-01-22 21:57:29 +07:00
|
|
|
---
|
|
|
|
|
2016-02-27 19:05:02 +07:00
|
|
|
- name: APT | Install APCu
|
2018-03-18 23:28:57 +07:00
|
|
|
apt:
|
|
|
|
pkg: "{{ php_package_prefix }}apcu"
|
2016-02-27 19:05:02 +07:00
|
|
|
|
|
|
|
- name: APT | Install Opcache
|
2018-03-18 23:28:57 +07:00
|
|
|
apt:
|
|
|
|
pkg: "{{ php_package_prefix }}opcache"
|
2016-01-22 21:57:29 +07:00
|
|
|
|
2018-03-18 23:28:57 +07:00
|
|
|
- name: TEMPLATE | Configure Opcache
|
|
|
|
template:
|
|
|
|
src: "etc/__php__/mods-available/opcache.ini.j2"
|
|
|
|
dest: "{{ php_mods_dir }}/opcache.ini"
|
2016-01-22 21:57:29 +07:00
|
|
|
notify: restart php-fpm
|
|
|
|
|
|
|
|
- name: TEMPLATE | Configure APCu
|
2018-03-18 23:28:57 +07:00
|
|
|
template:
|
|
|
|
src: "etc/__php__/mods-available/apcu.ini.j2"
|
|
|
|
dest: "{{ php_mods_dir }}/apcu.ini"
|
2016-01-22 21:57:29 +07:00
|
|
|
notify: restart php-fpm
|