26 lines
795 B
YAML
26 lines
795 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('') }}"
|
|
# NOTE(dtantsur): cannot specify swap with whole disk images
|
|
metalsmith_swap_size:
|
|
|
|
- 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))
|