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:
Jérémy Lecour 2017-11-28 15:17:36 +01:00 committed by Jérémy Lecour
parent 33c4d54edc
commit 635aa5f8a1
2 changed files with 2 additions and 1 deletions

View File

@ -48,6 +48,7 @@
- name: Custom php.ini for CLI
copy:
dest: "{{ phpini_cli_custom_file }}"
mode: "0644"
content: |
; Put customized values here.
force: no
@ -62,4 +63,3 @@
with_items:
- { option: "date.timezone", value: "Europe/Paris" }
when: php_symfony_requirements

View File

@ -49,6 +49,7 @@
- name: "Custom php.ini for CLI (Debian 9 or later)"
copy:
dest: "{{ phpini_cli_custom_file }}"
mode: "0644"
content: |
; Put customized values here.
; default_charset = "ISO-8859-1"