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
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

View file

@ -11,6 +11,7 @@
- { role: scaleway_ip_facts, tags: test_scaleway_ip_facts }
- { role: scaleway_security_group_facts, tags: test_scaleway_security_group_facts }
- { role: scaleway_server_facts, tags: test_scaleway_server_facts }
- { role: scaleway_snapshot_facts, tags: test_scaleway_snapshot_facts }
- { role: scaleway_ssh, tags: test_scaleway_ssh }
- { role: scaleway_volume, tags: test_scaleway_volume }
- { role: scaleway_volume_facts, tags: test_scaleway_volume_facts }