Fix memcached_servers content
The change [1] adapted the memcached_servers content but broke
its templating: its variable content is \\1:{memcached port},
instead of {ip}:{memcached port}.
This should fix the issue.
[1]: d3a0bfb728
Change-Id: I3afdff70a34a101b8cc8d396d41d263d930ee4e2
This commit is contained in:
parent
4613c2d070
commit
ea915b360c
@ -35,7 +35,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