ansible/test/legacy/roles/scaleway_server_facts/tasks/main.yml
Yanis Guenane 2cfcfd6dc9 scaleway: Introduce scaleway_server_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
2018-08-24 18:15:45 +02:00

12 lines
268 B
YAML

- 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