xci: Create playbook to destroy, create and provision VM nodes 85/32785/2
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 31 Mar 2017 13:02:16 +0000 (15:02 +0200)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 31 Mar 2017 14:34:44 +0000 (16:34 +0200)
commite40c112a8127e2601e0e98e00598010120c8d41a
treead9a33982dfd187f06b0e26fdf91e135976ae6be
parenta2b9b34651438563c5f677faa56d9cf61b09674d
xci: Create playbook to destroy, create and provision VM nodes

This change moves preparation (cloning repos, combining opnfv/bifrost
with openstack/bifrost), destroying and creating VM nodes from the
script into a separate playbook.

This requires the host to have ansible installed. The version of ansible
to install using pip currently matches to what bifrost uses but it is
hardcoded and needs to be fixed properly.

The reason for having this as a playbook to simplify the script and
increase the reuse. This playbook will be used for
- developer sandbox
- periodic bifrost jobs to run against latest on given branch and
promoting bifrost sha1 to pin later on
- daily jobs to run using pinned versions of bifrost

Change-Id: I033f12290dfea19d4c74be80eea7203211c0369e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
prototypes/xci/config/env-vars
prototypes/xci/playbooks/provision-vm-nodes.yml [new file with mode: 0644]
prototypes/xci/playbooks/roles/remove-folders/tasks/main.yml
prototypes/xci/var/opnfv.yml
prototypes/xci/xci-deploy.sh