Merge "Update memcached_servers regex to match one or more chars"
This commit is contained in:
commit
ef960d8419
@ -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(',')
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user