scaleway: Introduce scaleway_snapshot_facts module

Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
Yanis Guenane
2018-08-15 00:40:19 +02:00
committed by Michael Scherer
parent 2cfcfd6dc9
commit 809aa2d767
3 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
- 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