From 635aa5f8a1c2d22b26b62495cb96c94116c6c396 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Tue, 28 Nov 2017 15:17:36 +0100 Subject: [PATCH] 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) --- php/tasks/php_jessie.yml | 2 +- php/tasks/php_stretch.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/php/tasks/php_jessie.yml b/php/tasks/php_jessie.yml index 12f3a4f8..10d1c6f7 100644 --- a/php/tasks/php_jessie.yml +++ b/php/tasks/php_jessie.yml @@ -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 - diff --git a/php/tasks/php_stretch.yml b/php/tasks/php_stretch.yml index 4ed4c8b5..31ba2798 100644 --- a/php/tasks/php_stretch.yml +++ b/php/tasks/php_stretch.yml @@ -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"