ansible/test/legacy/roles/scaleway_snapshot_facts/tasks/main.yml
Yanis Guenane 809aa2d767 scaleway: Introduce scaleway_snapshot_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
2018-08-24 18:15:45 +02:00

12 lines
282 B
YAML

- name: Get snapshot informations and register it in a variable
scaleway_snapshot_facts:
register: snapshots
- name: Display snapshots variable
debug:
var: snapshots
- name: Ensure retrieval of snapshots facts is success
assert:
that:
- snapshots is success