mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
scaleway: Introduce scaleway_volume_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
committed by
Michael Scherer
parent
4bdec575c0
commit
e4e6569cc9
12
test/legacy/roles/scaleway_volume_facts/tasks/main.yml
Normal file
12
test/legacy/roles/scaleway_volume_facts/tasks/main.yml
Normal 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
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user