Enable OPENSTACK_OSA_DEV_PATH for AIO 71/46271/1
authorVictor Morales <victor.morales@intel.com>
Thu, 26 Oct 2017 19:43:27 +0000 (12:43 -0700)
committerVictor Morales <victor.morales@intel.com>
Thu, 26 Oct 2017 19:43:27 +0000 (12:43 -0700)
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>
xci/file/aio/configure-opnfvhost.yml

index b60c746..c9279d6 100644 (file)
@@ -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: