tripleo-quickstart-extras/roles/modify-image/tasks/main.yml
Sagi Shnaidman c2dc459ac2 Implement different approach to modify image
Because of very long image modifying by libguestfs, implement
different way to do it by converting image to raw, mounting it
and modifying in the place. This patch uses usual tripleo-ci way
to do it, as it was before transition.

Change-Id: Ice4487aa8d263aa7f4a426b7924104a469bd1b52
2017-05-30 18:51:14 +00:00

15 lines
391 B
YAML

---
- name: make sure an image and script are provided
fail:
msg:
"In order to use this role image_to_modify and modify_script must be
provided."
when: image_to_modify is not defined or (modify_script is not defined and modify_image_upload_files == [])
- include: libguestfs.yml
when: libguestfs_mode|bool
- include: manual.yml
when: not libguestfs_mode|bool