From 1f8681ffdbd705dd41a79e5c17b2d8ecc46f6c34 Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Thu, 23 Aug 2018 19:21:55 -0400 Subject: [PATCH] Reset file permissions as needed for settings --- provisioning/post-tasks/10-drupal.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/provisioning/post-tasks/10-drupal.yml b/provisioning/post-tasks/10-drupal.yml index 727797c..3f3cb8a 100644 --- a/provisioning/post-tasks/10-drupal.yml +++ b/provisioning/post-tasks/10-drupal.yml @@ -1,4 +1,16 @@ --- +- name: ensure settings location is still writable + file: + path: "{{ drupal_core_path }}/sites/default" + mode: 0775 + state: directory + +- name: ensure settings file is still writable + file: + path: "{{ drupal_core_path }}/sites/default/settings.php" + mode: 0664 + state: file + - name: Run composer install. command: "composer install" args: