tripleo-ci/toci-quickstart/playbooks/get_images-playbook.yml

11 lines
442 B
YAML

---
# TODO(sshnaidm): remove tripleo.sh and use ansible build image role
- name: Get images for quickstart
hosts: undercloud
gather_facts: no
tasks:
- name: Prepare images for stable branch
shell: >
STABLE_RELEASE='{{ lookup('env', 'STABLE_RELEASE') }}' {{tripleo_root}}/tripleo-ci/scripts/tripleo.sh --overcloud-images 2>&1 | sudo dd of=/var/log/image_build.txt;
when: "'{{ lookup('env', 'STABLE_RELEASE') }}'"