forked from evolix/ansible-roles
parent
7738de6f41
commit
d3eb8b870c
|
@ -46,14 +46,20 @@
|
||||||
option: disable_functions
|
option: disable_functions
|
||||||
value: "exec,shell-exec,system,passthru,putenv,popen"
|
value: "exec,shell-exec,system,passthru,putenv,popen"
|
||||||
|
|
||||||
- name: Custom php.ini for CLI
|
- name: Custom php.ini for CLI (jessie)
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ phpini_cli_custom_file }}"
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
mode: "0644"
|
|
||||||
content: |
|
content: |
|
||||||
; Put customized values here.
|
; Put customized values here.
|
||||||
force: no
|
force: no
|
||||||
|
|
||||||
|
# This task is not merged with the above copy
|
||||||
|
# because "force: no" prevents any fix after the fact
|
||||||
|
- name: "Permissions for custom php.ini for CLI (jessie)"
|
||||||
|
file:
|
||||||
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
|
mode: "0644"
|
||||||
|
|
||||||
- name: "Set custom values for PHP to enable Symfony (jessie)"
|
- name: "Set custom values for PHP to enable Symfony (jessie)"
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ phpini_cli_custom_file }}"
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
|
|
|
@ -50,12 +50,18 @@
|
||||||
- name: "Custom php.ini for CLI (Debian 9 or later)"
|
- name: "Custom php.ini for CLI (Debian 9 or later)"
|
||||||
copy:
|
copy:
|
||||||
dest: "{{ phpini_cli_custom_file }}"
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
mode: "0644"
|
|
||||||
content: |
|
content: |
|
||||||
; Put customized values here.
|
; Put customized values here.
|
||||||
; default_charset = "ISO-8859-1"
|
; default_charset = "ISO-8859-1"
|
||||||
force: no
|
force: no
|
||||||
|
|
||||||
|
# This task is not merged with the above copy
|
||||||
|
# because "force: no" prevents any fix after the fact
|
||||||
|
- name: "Permissions for custom php.ini for CLI (Debian 9 or later)"
|
||||||
|
file:
|
||||||
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
|
mode: "0644"
|
||||||
|
|
||||||
- name: "Set custom values for PHP to enable Symfony (Debian 9 or later)"
|
- name: "Set custom values for PHP to enable Symfony (Debian 9 or later)"
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ phpini_cli_custom_file }}"
|
dest: "{{ phpini_cli_custom_file }}"
|
||||||
|
|
Loading…
Reference in a new issue