24 lines
696 B
YAML
24 lines
696 B
YAML
- hosts: all
|
|
environment:
|
|
OS_CLOUD: devstack-admin
|
|
|
|
tasks:
|
|
- include: ssh-key.yaml
|
|
|
|
- include: cirros-image.yaml
|
|
when: metalsmith_whole_disk_image is not defined
|
|
|
|
- name: Test a whole-disk image
|
|
include: exercise.yaml
|
|
vars:
|
|
image: "{{ metalsmith_whole_disk_image }}"
|
|
image_checksum: "{{ metalsmith_whole_disk_checksum | default('') }}"
|
|
|
|
- name: Test a partition image
|
|
include: exercise.yaml
|
|
vars:
|
|
image: "{{ metalsmith_partition_image }}"
|
|
image_checksum: "{{ metalsmith_partition_checksum | default('') }}"
|
|
# FIXME(dtantsur): cover partition images
|
|
when: not (metalsmith_use_http | default(false))
|