Merge "Update memcached_servers regex to match one or more chars"

This commit is contained in:
Zuul 2019-10-15 13:04:14 +00:00 committed by Gerrit Code Review
commit ef960d8419

View File

@ -40,7 +40,7 @@ memcached_port: 11211
memcached_servers: >-
{{
(groups['memcached'] | map('extract', hostvars, 'ansible_host') | list)
| map('regex_replace', '(.*)' ,'\1:' ~ memcached_port)
| map('regex_replace', '(.+)' ,'\1:' ~ memcached_port)
| list
| join(',')
}}