Merge "Target AIO swift vars at specific containers"
This commit is contained in:
commit
4f405f4704
@ -19,6 +19,7 @@ swift-proxy_hosts:
|
||||
ip: 172.29.236.100
|
||||
container_vars:
|
||||
swift_proxy_vars:
|
||||
limit_container_types: swift_proxy
|
||||
read_affinity: "r1=100"
|
||||
write_affinity: "r1"
|
||||
write_affinity_node_count: "1 * replicas"
|
||||
@ -27,5 +28,6 @@ swift_hosts:
|
||||
ip: 172.29.236.100
|
||||
container_vars:
|
||||
swift_vars:
|
||||
limit_container_types: swift
|
||||
zone: 0
|
||||
region: 1
|
||||
|
@ -272,7 +272,7 @@ def _append_to_host_groups(inventory, container_type, assignment, host_type,
|
||||
'limit_container_types', None
|
||||
)
|
||||
|
||||
if limit is None or limit in container:
|
||||
if limit is None or (component and limit in component):
|
||||
hdata[_keys] = options
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user