Floating ip info module

Change-Id: If932651c9d7a1819f805a49b020826682c5b8087
This commit is contained in:
Polina Gubina
2021-05-21 12:12:34 +03:00
parent 6b3bf3bba0
commit 17d5c7de8e
4 changed files with 224 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
---
- name: Getting info about allocated ips
openstack.cloud.floating_ip_info:
cloud: "{{ cloud }}"
register: fips
- name: assert result
assert:
that:
- fips is success
- fips is not changed

View File

@@ -13,6 +13,7 @@
- role: dns
tags: dns
when: sdk_version is version(0.28, '>=')
- { role: floating_ip_info, tags: floating_ip_info }
- { role: image, tags: image }
- { role: keypair, tags: keypair }
- { role: keystone_domain, tags: keystone_domain }