tests: set gateway_ip_list dynamically

so we dont' have to hardcode this in the tests

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/4531/head
Guillaume Abrioux 2019-10-04 04:20:44 +02:00
parent 8a1bda6d91
commit d9f6b37ae6
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
---
gateway_ip_list: 192.168.1.90
generate_crt: True
gateway_ip_list: "{{ ansible_all_ipv4_addresses | ipaddr(public_network) | first }}"
generate_crt: True

View File

@ -1,3 +1,3 @@
---
gateway_ip_list: 192.168.1.90
gateway_ip_list: "{{ ansible_all_ipv4_addresses | ipaddr(public_network) | first }}"
generate_crt: True