mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-23 04:24:00 -07:00
scaleway: Introduce scaleway_image_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
parent
e4e6569cc9
commit
d62f63b680
3 changed files with 114 additions and 0 deletions
12
test/legacy/roles/scaleway_image_facts/tasks/main.yml
Normal file
12
test/legacy/roles/scaleway_image_facts/tasks/main.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
- name: Get image informations and register it in a variable
|
||||
scaleway_image_facts:
|
||||
register: images
|
||||
|
||||
- name: Display images variable
|
||||
debug:
|
||||
var: images
|
||||
|
||||
- name: Ensure retrieval of images facts is success
|
||||
assert:
|
||||
that:
|
||||
- images is success
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
roles:
|
||||
- { role: scaleway_compute, tags: test_scaleway_compute }
|
||||
- { role: scaleway_image_facts, tags: test_scaleway_image_facts }
|
||||
- { 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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue