From 492411f267c983d3206f6c4d0e37a2b8e1b66546 Mon Sep 17 00:00:00 2001 From: Ken Wronkiewicz Date: Thu, 9 Jun 2016 15:18:05 -0700 Subject: [PATCH] Fix interface address for memcached atop kubernetes Change-Id: I0fdbef7c5a2bfc13e01c26d8107c7ad03881b520 Partially-implements: blueprint api-interface-bind-address-override Depends-On: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e --- ansible/roles/memcached/templates/memcached.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/roles/memcached/templates/memcached.json.j2 b/ansible/roles/memcached/templates/memcached.json.j2 index 06bc2b4e7b..fc59fd01cc 100644 --- a/ansible/roles/memcached/templates/memcached.json.j2 +++ b/ansible/roles/memcached/templates/memcached.json.j2 @@ -1,4 +1,4 @@ { - "command": "/usr/bin/memcached -vv -l {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} -p {{ memcached_port }}", + "command": "/usr/bin/memcached -vv -l {{ api_interface_address }} -p {{ memcached_port }}", "config_files": [] }