General improvements

Adding more dynamic user config options.

Change-Id: I6f30ea38e3680ffa2ef1a77eadc91cfa9d946971
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2017-08-10 20:16:06 -05:00
parent bc8a440d42
commit ebcfc0d0a4
No known key found for this signature in database
GPG Key ID: 69FEFFC5E2D9273F
2 changed files with 5 additions and 2 deletions

View File

@ -68,6 +68,9 @@ swift3
[deploy_hosts]
infra1
[loadbalancer_hosts]
loadbalancer1
############################### OSA MNAIO HOSTS ###############################
# The group "swift_hosts" is used in the MNAIO setup to create the basic drive

View File

@ -12,8 +12,8 @@ used_ips:
- "10.0.248.0,10.0.248.200"
global_overrides:
internal_lb_vip_address: "10.0.236.150"
external_lb_vip_address: "10.0.2.150"
internal_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['server_networks']['mgmt']['address'].split('/')[0]) }}"
external_lb_vip_address: "{{ external_lb_vip_address | default(hostvars[groups['loadbalancer_hosts'][0]]['ansible_host'].split('/')[0]) }}"
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
provider_networks: