mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
scaleway: Introduce scaleway_snapshot_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
parent
2cfcfd6dc9
commit
809aa2d767
3 changed files with 98 additions and 0 deletions
12
test/legacy/roles/scaleway_snapshot_facts/tasks/main.yml
Normal file
12
test/legacy/roles/scaleway_snapshot_facts/tasks/main.yml
Normal 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
|
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue