From ea915b360c492f286507a9b5a05c3d2f7770abef Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Thu, 12 Jul 2018 10:55:25 +0200 Subject: [PATCH] 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]: https://github.com/openstack/openstack-ansible/commit/d3a0bfb728a75db4c3cc79d4604c8555a472dc6f Change-Id: I3afdff70a34a101b8cc8d396d41d263d930ee4e2 --- inventory/group_vars/all/infra.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inventory/group_vars/all/infra.yml b/inventory/group_vars/all/infra.yml index 02d72f550e..036623cba1 100644 --- a/inventory/group_vars/all/infra.yml +++ b/inventory/group_vars/all/infra.yml @@ -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(',') }}