From 10d57ded8d43f8f919d9792438615e1af569d3d0 Mon Sep 17 00:00:00 2001 From: dannylamb Date: Fri, 17 Apr 2020 16:57:41 -0300 Subject: [PATCH 1/3] Removing scaffolding plugin after install --- post-install.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/post-install.yml b/post-install.yml index dfeb82b2..465bc501 100644 --- a/post-install.yml +++ b/post-install.yml @@ -86,6 +86,13 @@ mode: 0775 recurse: yes + - name: Remove drupal scaffolding + composer: + command: remove + arguments: "drupal/core-composer-scaffold" + working_dir: "{{ drupal_composer_install_dir }}" + ignore_errors: yes + - name: Clear cache command: "{{ drush_path }} --root {{ drupal_core_path }} -y cr" From 7f79d065fc9a13301721e2ae4a749613f20e7ccf Mon Sep 17 00:00:00 2001 From: dannylamb Date: Wed, 22 Apr 2020 16:08:39 -0300 Subject: [PATCH 2/3] Chowning default services and settings yml --- post-install.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/post-install.yml b/post-install.yml index 465bc501..64e507de 100644 --- a/post-install.yml +++ b/post-install.yml @@ -86,6 +86,22 @@ mode: 0775 recurse: yes + - name: Chown default.settings.yml + file: + dest: "{{ drupal_core_path }}/sites/default/default.settings.yml" + state: file + owner: "{{ webserver_app_user }}" + group: "{{ webserver_app_user }}" + mode: 0664 + + - name: Chown default.services.yml + file: + dest: "{{ drupal_core_path }}/sites/default/default.services.yml" + state: file + owner: "{{ webserver_app_user }}" + group: "{{ webserver_app_user }}" + mode: 0664 + - name: Remove drupal scaffolding composer: command: remove From 96186871219fb359ad9507636c2c57cf6ef15758 Mon Sep 17 00:00:00 2001 From: dannylamb Date: Thu, 23 Apr 2020 10:35:32 -0300 Subject: [PATCH 3/3] default.settings.php, not .yml --- post-install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-install.yml b/post-install.yml index 64e507de..8abfc42e 100644 --- a/post-install.yml +++ b/post-install.yml @@ -88,7 +88,7 @@ - name: Chown default.settings.yml file: - dest: "{{ drupal_core_path }}/sites/default/default.settings.yml" + dest: "{{ drupal_core_path }}/sites/default/default.settings.php" state: file owner: "{{ webserver_app_user }}" group: "{{ webserver_app_user }}"