scaleway: Introduce scaleway_server_facts module

Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
Yanis Guenane
2018-08-15 00:32:26 +02:00
committed by Michael Scherer
parent 5c65ba62aa
commit 2cfcfd6dc9
3 changed files with 180 additions and 0 deletions

View 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

View File

@@ -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 }