aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-08-11 15:41:29 +0000
committerVladislav Belogrudov <vladislav.belogrudov@oracle.com>2016-08-24 14:45:14 +0000
commit158a852998495c9289ff9899adc7dfbf9a06910a (patch)
tree257b3e7a70a241a3968fc6877c82797afea636e5 /ansible
parentcc4150292c66b99aaf63a63e7438fa1cee3be129 (diff)
downloadkolla-158a852998495c9289ff9899adc7dfbf9a06910a.tar.gz
kolla-158a852998495c9289ff9899adc7dfbf9a06910a.zip
Add defaults for interfaces to all.yml
The values for 'network_interface' and 'neutron_external_interface' are missing from all.yml, meaning it is impossible to override them on a per node / per group basis. (globals.yml get's top precedence). Make these consistent with the rest of the variables and move the defaults into all.yml. Operators can still override / update these in globals.yml as before, but those wanting more flexibility now have it via host / group variables. Change-Id: I2575921f76a8e245106da765757c70353bd6762c Closes-Bug: #1604129
Diffstat (limited to 'ansible')
-rw-r--r--ansible/group_vars/all.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml
index 671e8a197..deb05069f 100644
--- a/ansible/group_vars/all.yml
+++ b/ansible/group_vars/all.yml
@@ -100,6 +100,8 @@ keepalived_virtual_router_id: "51"
####################
# Networking options
####################
+network_interface: "eth0"
+neutron_external_interface: "eth1"
kolla_external_vip_interface: "{{ network_interface }}"
api_interface: "{{ network_interface }}"
storage_interface: "{{ network_interface }}"