jkilpatr c964919a21 Add oooq Ansible Role Support
This adds support for Browbeat to run as a oooq role
none of the playbooks or the roles located in ansible/oooq
are usable if called without oooq, so maybe they should go
in the ci-scripts folder.

Change-Id: Iefcae69af591a790bdeb4acc3c85e75292b6b8ce
2016-11-30 20:34:31 +00:00

20 lines
713 B
YAML

---
#role to install CollectD on all nodes
- name: Install CollectD
shell:
"cd {{ ansible_env.HOME }}/browbeat/ansible; \
ansible-playbook -i hosts \
--extra-vars collectd_compute=true \
--extra-vars graphite_host={{ graphite_host_template }} \
--extra-vars graphite_prefix={{ graphite_prefix_template }} \
--extra-vars @{{ ansible_env.HOME }}/browbeat/ci-scripts/config/tripleo/oooq/all.yml \
install/collectd-openstack.yml \
> {{ ansible_env.HOME }}/browbeat/results/collecd_install.log"
register: collectd_install
until: collectd_install.rc == 0
retries: 2
delay: 60
environment:
ANSIBLE_SSH_ARGS: "-F {{ ansible_env.HOME }}/browbeat/ansible/ssh-config"