From 2ac3ced9a6d03fa4c9aae38c75aad9ed4d687181 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Fri, 2 Jun 2017 18:31:31 +0200 Subject: Define an extra vars path and copy into playbooks This will allow to define the XCI_EXTRA_VARS_PATH, that can contain group_vars/all (or any other valid files), and those will be copied inside releng and bifrost playbooks. Change-Id: I95e4b0bfb67f26bfa1eb10c97096784eb7f3a87a Signed-Off-By: Yolanda Robla --- xci/playbooks/provision-vm-nodes.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'xci/playbooks') diff --git a/xci/playbooks/provision-vm-nodes.yml b/xci/playbooks/provision-vm-nodes.yml index 8be36c7a..92b5c553 100644 --- a/xci/playbooks/provision-vm-nodes.yml +++ b/xci/playbooks/provision-vm-nodes.yml @@ -42,6 +42,15 @@ delete: yes when: - OPNFV_RELENG_DEV_PATH != "" + - name: Copy extra vars to releng and bifrost + synchronize: + src: "{{ XCI_EXTRA_VARS_PATH }}" + dest: "{{ item }}" + with_items: + - "{{ OPNFV_RELENG_PATH }}/prototypes/xci/playbooks" + - "{{ OPENSTACK_BIFROST_PATH }}/playbooks/inventory" + when: + - XCI_EXTRA_VARS_PATH != "" - hosts: localhost connection: local -- cgit 1.2.3-korg