Fix kolla-ansible.yml when no seed or controller hosts exist

This commit is contained in:
Mark Goddard 2017-07-26 17:50:18 +00:00
parent 73cca4441c
commit d638402838

View File

@ -145,7 +145,7 @@
description: "List of Neutron interface names" description: "List of Neutron interface names"
required: True required: True
- value - value
when: "{{ controller_host is defined }}" when: "{{ groups['controllers'] | length > 0 }}"
tags: tags:
- config - config
- config-validation - config-validation
@ -169,7 +169,7 @@
- var_name: "kolla_bifrost_network_interface" - var_name: "kolla_bifrost_network_interface"
description: "Bifrost network interface name" description: "Bifrost network interface name"
required: True required: True
when: "{{ seed_host is defined }}" when: "{{ groups['seed'] | length > 0 }}"
tags: tags:
- config - config
- config-validation - config-validation