xci: Ensure using flavor inventory 79/32479/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 30 Mar 2017 12:07:06 +0000 (14:07 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Thu, 30 Mar 2017 12:07:06 +0000 (14:07 +0200)
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

prototypes/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"