openstack-ansible-os_swift/templates/swift-dispersion.conf.j2
Tim Laszlo 5afbf0c4a4 Define region name.
If multiple regions exist, keystone_authtoken should contain region_name.
This prevents the service from authenticating across regions. Also sets
the region_name in dispersion.conf.

Change-Id: I8dbe1c739ae82d7d7a3076a972058a0763e4348a
2016-07-23 08:47:14 -05:00

13 lines
424 B
Django/Jinja

# {{ ansible_managed }}
[dispersion]
auth_url = {{ keystone_service_internalurl }}
auth_user = {{ swift_dispersion_user }}
auth_key = {{ swift_dispersion_password }}
auth_version = 3.0
user_domain_name = {{ swift_dispersion_user_domain_name }}
project_domain_name = {{ swift_service_project_domain_name }}
project_name = {{ swift_service_project_name }}
endpoint_type = internalURL
region_name = {{ swift_service_region }}