mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
scaleway: Introduce scaleway_ip_facts module
Co-authored-by: Rémy Leone <rleone@online.net>
This commit is contained in:
committed by
Michael Scherer
parent
d62f63b680
commit
5c65ba62aa
12
test/legacy/roles/scaleway_ip_facts/tasks/main.yml
Normal file
12
test/legacy/roles/scaleway_ip_facts/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
- name: Get ip informations and register it in a variable
|
||||
scaleway_ip_facts:
|
||||
register: ips
|
||||
|
||||
- name: Display ips variable
|
||||
debug:
|
||||
var: ips
|
||||
|
||||
- name: Ensure retrieval of ips facts is success
|
||||
assert:
|
||||
that:
|
||||
- ips is success
|
||||
@@ -8,6 +8,7 @@
|
||||
roles:
|
||||
- { role: scaleway_compute, tags: test_scaleway_compute }
|
||||
- { 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_ssh, tags: test_scaleway_ssh }
|
||||
- { role: scaleway_volume, tags: test_scaleway_volume }
|
||||
|
||||
Reference in New Issue
Block a user