mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
scaleway: Introduce scaleway_server_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
committed by
Michael Scherer
parent
5c65ba62aa
commit
2cfcfd6dc9
12
test/legacy/roles/scaleway_server_facts/tasks/main.yml
Normal file
12
test/legacy/roles/scaleway_server_facts/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: Get server informations and register it in a variable
|
||||
scaleway_server_facts:
|
||||
register: servers
|
||||
|
||||
- name: Display servers variable
|
||||
debug:
|
||||
var: servers
|
||||
|
||||
- name: Ensure retrieval of servers facts is success
|
||||
assert:
|
||||
that:
|
||||
- servers is success
|
||||
@@ -10,6 +10,7 @@
|
||||
- { role: scaleway_image_facts, tags: test_scaleway_image_facts }
|
||||
- { 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_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