aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Wronkiewicz <wh-openstack@wirewd.com>2016-06-09 15:18:05 -0700
committerRyan Hallisey <rhallise@redhat.com>2016-08-02 12:39:15 -0400
commit492411f267c983d3206f6c4d0e37a2b8e1b66546 (patch)
treee7e5695ff1d05c384542b3fdfd6dd85e444243b0
parent5ce4de6b2b76ca14387e5e5984f3b1067a4a223b (diff)
downloadkolla-492411f267c983d3206f6c4d0e37a2b8e1b66546.tar.gz
kolla-492411f267c983d3206f6c4d0e37a2b8e1b66546.zip
Fix interface address for memcached atop kubernetes
Change-Id: I0fdbef7c5a2bfc13e01c26d8107c7ad03881b520 Partially-implements: blueprint api-interface-bind-address-override Depends-On: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
-rw-r--r--ansible/roles/memcached/templates/memcached.json.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/memcached/templates/memcached.json.j2 b/ansible/roles/memcached/templates/memcached.json.j2
index 06bc2b4e7..fc59fd01c 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": []
}