browbeat/ansible/install/shaker_build.yml
Sindhur e76b8acb4b Upgrading to Shaker version 0.0.14
Currently we are using Shaker version 0.0.10, however version 0.0.14
has more network tests including ping, tcp bidirectional and also
has a slick format for printing reports for tests with varying
concurrencies.

Moreover, we intend to use the json output from this version to index
shaker results in elastic search through a future commit.

+ Adding dns options
+ Patching validator to check for dns_nameserver key
+ Removing dns option, to be pushed when the pypi package includes
  the change
Change-Id: I522d1c78e7cacda3763f326f5e7dfa53e4ada1a8
2016-06-21 20:11:16 +00:00

17 lines
488 B
YAML

---
#
# Playbook to build shaker-image
#
- hosts: undercloud
remote_user: "{{ local_remote_user }}"
tasks:
- name: build shaker image
shell: >
source {{ overcloudrc }}; source {{ shaker_venv }}/bin/activate;
shaker-image-builder --flavor-name {{ shaker_flavor }} --image-builder-template
{{ shaker_centos }} --os-region-name {{ shaker_region }}
become: true
register: image_result
failed_when: image_result.rc != 0