browbeat/ansible/install/shaker_build.yml
Leif Madsen 66c0ef5a87
Resolve all ANSIBLE0002 linting issues
ANSIBLE0002 provides a check for any trailing whitespace. Trailing
whitespace has been removed and now lint tests pass without issue.

Change-Id: I1af6af8ce1c27088e2db21c26bb60b8e857c5718
2016-08-18 16:25:29 -04:00

17 lines
487 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