xci: Ensure using flavor inventory
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 30 Mar 2017 12:07:06 +0000 (14:07 +0200)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000 (12:56 -0700)
This is needed in order to configure target hosts that are in the
flavor inventory file rather than what is there by default, which
is aio.

Change-Id: Iab27ed71a3d7c03f8fbbec8ceb7af92259320412

xci/playbooks/configure-localhost.yml

index 6a298e0..2a55964 100644 (file)
         src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/configure-opnfvhost.yml"
         dest: "{{OPNFV_RELENG_PATH}}/prototypes/xci/playbooks"
       when: XCI_FLAVOR == "aio"
+    - name: copy flavor inventory
+      copy:
+        src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/inventory"
+        dest: "{{OPNFV_RELENG_PATH}}/prototypes/xci/playbooks"
     - name: copy flavor vars
       copy:
         src: "{{XCI_FLAVOR_ANSIBLE_FILE_PATH}}/flavor-vars.yml"