xci: Create playbook to destroy, create and provision VM nodes
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Fri, 31 Mar 2017 13:02:16 +0000 (15:02 +0200)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Fri, 11 Aug 2017 19:56:12 +0000 (12:56 -0700)
commitbff5c6f23954a05eb51b5c3722798048317fbb69
tree08b7820b5f40aec2436f0474fe966ad0b1042174
parent20fa3cfff6668c58cf136a0a901633dd0532629c
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>
xci/config/env-vars
xci/playbooks/provision-vm-nodes.yml [new file with mode: 0644]
xci/playbooks/roles/remove-folders/tasks/main.yml
xci/var/opnfv.yml
xci/xci-deploy.sh