browbeat/ansible/install/shaker_build.yml
Sai Sindhur Malleni ae326ff0e6 Shaker Enhancements
Changes and improvements to Shaker
Upgrade shaker to 0.0.15 and shaker_dns_nameservers option to image build

Change-Id: I0b3cd8ed8c656e757c0e9bbbec64eebaa8de88e1
2016-09-15 13:21:18 -04:00

17 lines
532 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_image }} --dns-nameservers {{ shaker_dns_nameserver }} --os-region-name {{ shaker_region }}
become: true
register: image_result
failed_when: image_result.rc != 0