1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-30 07:50:43 +00:00

scaleway: Introduce scaleway_volume_facts module

Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
Yanis Guenane 2018-08-14 23:49:57 +02:00 committed by Michael Scherer
parent 4bdec575c0
commit e4e6569cc9
3 changed files with 96 additions and 0 deletions

View file

@ -0,0 +1,12 @@
- name: Get volume informations and register it in a variable
scaleway_volume_facts:
register: volumes
- name: Display volumes variable
debug:
var: volumes
- name: Ensure retrieval of volumes facts is success
assert:
that:
- volumes is success

View file

@ -10,3 +10,4 @@
- { role: scaleway_security_group_facts, tags: test_scaleway_security_group_facts }
- { role: scaleway_ssh, tags: test_scaleway_ssh }
- { role: scaleway_volume, tags: test_scaleway_volume }
- { role: scaleway_volume_facts, tags: test_scaleway_volume_facts }