From 160964886c214f764eb0237967484dcbddf13d50 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 10 Jan 2019 14:43:55 +0100 Subject: [PATCH] Allow multiple extra repositories --- tasks/deploy/gitcomposer.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tasks/deploy/gitcomposer.yml b/tasks/deploy/gitcomposer.yml index 2bc0eea..4394775 100644 --- a/tasks/deploy/gitcomposer.yml +++ b/tasks/deploy/gitcomposer.yml @@ -22,15 +22,15 @@ version: '{{ drupal.src.git.branch|default(omit) }}' become: false - - name: "Clone Git Config Repository" + - name: "Clone Git Extra Repositories" git: accept_hostkey: yes - repo: '{{ drupal.src.git.configrepository }}' - dest: '{{ webRoot }}/config' + repo: '{{ drupal.src.git.extrarepos[item] }}' + dest: '{{ webRoot }}/{{ item }}' force: yes version: '{{ drupal.src.git.branch|default(omit) }}' become: false - when: drupal.src.git.configrepository is defined + with_items: '{{ drupal.src.git.extrarepos|default([]) }}' - name: "Create .env file" template: -- GitLab