Fixes #127: OpCache configuration filename has changed in Ubuntu 16.04.

This commit is contained in:
Jeff Geerling 2016-05-19 11:00:45 -05:00
parent c2ef557806
commit b495937920

View File

@ -28,6 +28,11 @@
php_apc_conf_filename: "{{ __php_apc_conf_filename }}" php_apc_conf_filename: "{{ __php_apc_conf_filename }}"
when: php_apc_conf_filename is not defined when: php_apc_conf_filename is not defined
- name: Define php_opcache_conf_filename (Ubuntu 16.04).
set_fact:
php_opcache_conf_filename: "10-opcache.ini"
when: php_opcache_conf_filename is not defined and ansible_distribution_version == "16.04"
- name: Define php_opcache_conf_filename. - name: Define php_opcache_conf_filename.
set_fact: set_fact:
php_opcache_conf_filename: "{{ __php_opcache_conf_filename }}" php_opcache_conf_filename: "{{ __php_opcache_conf_filename }}"