Update memcached_servers regex to match one or more chars
Previously this matched zero or more, and on debian buster systems this generates the following, which breaks keystone. memcached_servers: "172.29.237.133:11211:11211" Change-Id: Ic4bfb03c11ea79c0e0c9adf3e3d2443c3f5c0154
This commit is contained in:
parent
bcf506a067
commit
190f0d8d9f
@ -40,7 +40,7 @@ memcached_port: 11211
|
|||||||
memcached_servers: >-
|
memcached_servers: >-
|
||||||
{{
|
{{
|
||||||
(groups['memcached'] | map('extract', hostvars, 'ansible_host') | list)
|
(groups['memcached'] | map('extract', hostvars, 'ansible_host') | list)
|
||||||
| map('regex_replace', '(.*)' ,'\1:' ~ memcached_port)
|
| map('regex_replace', '(.+)' ,'\1:' ~ memcached_port)
|
||||||
| list
|
| list
|
||||||
| join(',')
|
| join(',')
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user