From 5041a9dc324aab6fcbe563bb5c7d8c9821f94ab6 Mon Sep 17 00:00:00 2001 From: Jason Tavares Date: Sat, 16 Jul 2016 02:14:20 -0400 Subject: [PATCH] Add ability to override drush make command line options. --- default.config.yml | 1 + provisioning/tasks/build-makefile.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/default.config.yml b/default.config.yml index 0dc4c70e5..ea76fea84 100644 --- a/default.config.yml +++ b/default.config.yml @@ -39,6 +39,7 @@ drupalvm_webserver: apache # would like to configure 'vagrant_synced_folders' and 'apache_vhosts' manually. build_makefile: false drush_makefile_path: "{{ config_dir }}/drupal.make.yml" +drush_make_options: "--no-gitinfofile" # Set 'build_makefile' to 'false' and this to 'true' if you are using a # composer based site deployment strategy. diff --git a/provisioning/tasks/build-makefile.yml b/provisioning/tasks/build-makefile.yml index 862cb5acc..2dc994c4a 100644 --- a/provisioning/tasks/build-makefile.yml +++ b/provisioning/tasks/build-makefile.yml @@ -16,7 +16,7 @@ - name: Generate Drupal site with drush makefile. command: > - {{ drush_path }} make -y /tmp/drupal.make.yml --no-gitinfofile + {{ drush_path }} make -y /tmp/drupal.make.yml {{ drush_make_options }} chdir={{ drupal_core_path }} when: not drupal_site_exists become: no