diff --git a/defaults/main.yml b/defaults/main.yml index 2f7e9b67..1a7688d6 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -72,6 +72,7 @@ php_apc_enable_cli: "0" # If this is set to false, none of the following options will have any effect. # Any and all changes to /etc/php.ini will be your responsibility. php_use_managed_ini: true +php_ini_template: "php.ini.j2" php_expose_php: "On" php_memory_limit: "256M" diff --git a/tasks/configure.yml b/tasks/configure.yml index 68eafa00..1d6f7f86 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -11,7 +11,7 @@ - name: Place PHP configuration file in place. ansible.builtin.template: - src: php.ini.j2 + src: "{{ php_ini_template }}" dest: "{{ item }}/php.ini" owner: root group: root