igw: drop gateway_ip_list for container setups

The gateway_ip_list is not used in container setups, so drop it
for that case.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit b7b2213be1)
pull/4199/head
Mike Christie 2019-05-30 10:55:45 -05:00 committed by mergify[bot]
parent f984db5544
commit f180eccb84
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,9 @@
- name: make sure gateway_ip_list is configured
fail:
msg: "you must set a list of IPs (comma separated) for gateway_ip_list"
when: "gateway_ip_list | default('0.0.0.0') == '0.0.0.0'"
when:
- "gateway_ip_list | default('0.0.0.0') == '0.0.0.0'"
- not containerized_deployment | bool
- name: fail if unsupported chap configuration
fail:

View File

@ -1,3 +1,2 @@
---
gateway_ip_list: 192.168.1.90
generate_crt: True
generate_crt: True