php.ini custom file permissions
Thanks to root's umask, the copied file doesn't ave the proper permissions : 0600 (actual) instead of 0644 (expected)
This commit is contained in:
parent
33c4d54edc
commit
635aa5f8a1
|
@ -48,6 +48,7 @@
|
||||||
- name: Custom php.ini for CLI
|
- name: Custom php.ini for CLI
|
||||||
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
|
||||||
|
@ -62,4 +63,3 @@
|
||||||
with_items:
|
with_items:
|
||||||
- { option: "date.timezone", value: "Europe/Paris" }
|
- { option: "date.timezone", value: "Europe/Paris" }
|
||||||
when: php_symfony_requirements
|
when: php_symfony_requirements
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
- 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"
|
||||||
|
|
Loading…
Reference in a new issue