From 1a82cc306693a61d74be03bf3fe88fab000e0acf Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Wed, 29 Jun 2016 11:20:15 -0500 Subject: [PATCH] Issue #726, #720, #727: Fix permissions on the synced folder for composer project build. --- provisioning/tasks/build-composer-project.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/provisioning/tasks/build-composer-project.yml b/provisioning/tasks/build-composer-project.yml index 9372c81f9..fedb49013 100644 --- a/provisioning/tasks/build-composer-project.yml +++ b/provisioning/tasks/build-composer-project.yml @@ -1,4 +1,14 @@ --- +- name: Ensure drupal_composer_install_dir directory has proper permissions. + file: + path: "{{ drupal_composer_install_dir }}" + state: directory + owner: "{{ drupalvm_user }}" + group: "{{ drupalvm_user }}" + mode: 0775 + when: not drupal_site_exists + failed_when: false + - name: Generate Drupal project with composer package. command: > {{ composer_path }} create-project