akrzos 9b333bd72c Install Browbeat on a VM
Initial attempt at getting ansible to work with installing Browbeat in each of these situations:
* Install on Undercloud from Local Machine
* Install on Undercloud from Undercloud
* Install on Non-Undercloud from Local Machine
* Install on Non-Undercloud from Non-Undercloud

Improvements/Cleanup:
* Install instructions from Browbeat VM
* Separate Browbeat machine from Undercloud
* Flavor/Image upload via python-OpenStackClient from browbeat-venv
* Separate install components into separate roles for easier debugging
* Separate Flavors/Images Upload from browbeat install into separate role
* Change order of vars for easier understanding
* Support CentOS iptables setup with another var
* Download and then convert qcow2 into raw image for upload

Change-Id: I99365ef933c57a9ec0faedefcdc2d7c0f92f0ec4
2017-05-31 14:14:46 -04:00

20 lines
461 B
YAML

---
#
# Browbeat's Shaker Install
#
- name: Create shaker virtualenv
command: virtualenv {{ shaker_venv }} creates={{ shaker_venv }}
- name: Setup shaker-venv CA certificate path
lineinfile:
dest: "{{ shaker_venv }}/bin/activate"
line: 'export REQUESTS_CA_BUNDLE={{ overcloud_ca_path }}'
when: overcloud_ca_path is defined
- name: Install shaker
pip:
name: pyshaker
version: "{{ shaker_version }}"
virtualenv: "{{ shaker_venv }}"