diff --git a/validations/check-network-gateway.yaml b/validations/check-network-gateway.yaml index c53db97bc..732e560b2 100644 --- a/validations/check-network-gateway.yaml +++ b/validations/check-network-gateway.yaml @@ -18,7 +18,7 @@ undercloud_conf_path={{ tripleo_undercloud_conf_file }} ignore_missing=true - name: "Test network_gateway if different from local_ip" - icmp_ping: host={{ undercloud_conf.DEFAULT.network_gateway }} + icmp_ping: host="{{ undercloud_conf.DEFAULT.network_gateway | default('0.0.0.0') }}" when: > "undercloud_conf.DEFAULT.local_ip | default('0.0.0.0') | ipaddr('address')" !=