summaryrefslogtreecommitdiffstats
path: root/xci/file
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-10-26 12:43:27 -0700
committerVictor Morales <victor.morales@intel.com>2017-10-26 12:43:27 -0700
commitb0750a68b339431742cf855a8959bbeb226b4112 (patch)
tree8456e15c8626198fbd2e500da858677e49ecd595 /xci/file
parentb90e6f66144309a1d9a63d8a29abf65a97ee31ad (diff)
Enable OPENSTACK_OSA_DEV_PATH for AIO
The task for synchronize source code between the host and opnfv guest instance was not implemented for All-in-One flavor. This change uses the same task that is used in other flavors. Change-Id: I9733544a22de4867c399eb57dfe90c0915350171 Signed-off-by: Victor Morales <victor.morales@intel.com>
Diffstat (limited to 'xci/file')
-rw-r--r--xci/file/aio/configure-opnfvhost.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/xci/file/aio/configure-opnfvhost.yml b/xci/file/aio/configure-opnfvhost.yml
index b60c746b..c9279d64 100644
--- a/xci/file/aio/configure-opnfvhost.yml
+++ b/xci/file/aio/configure-opnfvhost.yml
@@ -6,6 +6,14 @@
roles:
- { role: clone-repository, project: "openstack/openstack-ansible", repo: "{{ OPENSTACK_OSA_GIT_URL }}", dest: "{{ OPENSTACK_OSA_PATH }}", version: "{{ OPENSTACK_OSA_VERSION }}" }
tasks:
+ - name: Synchronize local development openstack-ansible repository to XCI paths
+ synchronize:
+ src: "{{ OPENSTACK_OSA_DEV_PATH }}"
+ dest: "{{ OPENSTACK_OSA_PATH }}"
+ recursive: yes
+ delete: yes
+ when:
+ - OPENSTACK_OSA_DEV_PATH != ""
- name: bootstrap ansible on opnfv host
command: "/bin/bash ./scripts/bootstrap-ansible.sh"
args: