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:
parent
4bdec575c0
commit
e4e6569cc9
3 changed files with 96 additions and 0 deletions
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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue