summaryrefslogtreecommitdiffstats
path: root/xci/file
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-09-22 14:06:10 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-09-22 14:06:10 +0000
commit08fbdfaadb1cfba8ba46d1970d784bfbabc7e212 (patch)
treec77fbff6cb8ff484cdce2e22b8012bac6727e458 /xci/file
parent639ac5a794f961fb2a8db3cb3fb19681de26ab3c (diff)
parent3a281e5c91bf05d94361af1ff5818657d92a1bfd (diff)
Merge changes from topic 'split-variable-creation-to-task'
* changes: xci: playbooks: Include distribution var files dynamically bifrost: scripts: Look for virtualbmc on bifrost virtualenv xci: Gain elevated privileges to remove the XCI_DEVEL_ROOT directory xci: Move VM provisioning to xci-deploy.sh
Diffstat (limited to 'xci/file')
-rw-r--r--xci/file/aio/configure-opnfvhost.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/xci/file/aio/configure-opnfvhost.yml b/xci/file/aio/configure-opnfvhost.yml
index 708ad618..5ef19326 100644
--- a/xci/file/aio/configure-opnfvhost.yml
+++ b/xci/file/aio/configure-opnfvhost.yml
@@ -1,11 +1,17 @@
---
- hosts: opnfv
remote_user: root
- vars_files:
+ gather_facts: true
+ become: yes
vars_files:
- ../var/opnfv.yml
roles:
- role: remove-folders
+
+- hosts: opnfv
+ remote_user: root
+ vars_files:
+ - ../var/opnfv.yml
- { role: clone-repository, project: "openstack/openstack-ansible", repo: "{{ OPENSTACK_OSA_GIT_URL }}", dest: "{{ OPENSTACK_OSA_PATH }}", version: "{{ OPENSTACK_OSA_VERSION }}" }
tasks:
- name: bootstrap ansible on opnfv host