summaryrefslogtreecommitdiffstats
path: root/prototypes/xci
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-30 14:07:06 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2017-03-30 14:07:06 +0200
commitc88ee15be620f579c2b4b56457e73c0690bf8470 (patch)
tree99a66168b0f176ee3a8760fe610de7e76abddaae /prototypes/xci
parentb5c5392388aab171c9eca9a97278234100a97cd3 (diff)
xci: Ensure using flavor inventory
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
Diffstat (limited to 'prototypes/xci')
-rw-r--r--prototypes/xci/playbooks/configure-localhost.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/prototypes/xci/playbooks/configure-localhost.yml b/prototypes/xci/playbooks/configure-localhost.yml
index 6a298e012..2a559645e 100644
--- a/prototypes/xci/playbooks/configure-localhost.yml
+++ b/prototypes/xci/playbooks/configure-localhost.yml
@@ -33,6 +33,10 @@
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"