Add global override for service bind address

Change-Id: Id04786c64e6dcc955e086a26f0abe38e2437d23f
This commit is contained in:
Dmitriy Rabotyagov 2020-10-21 10:30:11 +03:00
parent 96a474667f
commit 1d57000f24
2 changed files with 2 additions and 1 deletions

View File

@ -94,6 +94,7 @@ swift_tempauth_users:
- "user_admin_admin = admin .admin .reseller_admin"
## Swift default ports
swift_proxy_bind_address: "{{ openstack_service_bind_address | default('0.0.0.0') }}"
swift_proxy_port: "8080"
# You can change the object, container, account ports.
# This will update the ring, on the next playbook run,

View File

@ -3,7 +3,7 @@
[DEFAULT]
# Disable stderr logging
use_stderr = False
bind_ip = 0.0.0.0
bind_ip = {{ swift_proxy_bind_address }}
bind_port = {{ swift_proxy_port }}
workers = {{ swift_proxy_server_workers }}