ae326ff0e6
Changes and improvements to Shaker Upgrade shaker to 0.0.15 and shaker_dns_nameservers option to image build Change-Id: I0b3cd8ed8c656e757c0e9bbbec64eebaa8de88e1
17 lines
532 B
YAML
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
|