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