summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-11-15 22:59:39 -0800
committerbaigk <baiguoku@huawei.com>2015-11-16 07:03:13 +0000
commita8aa85f2a26256938b0057802ac5521edb594791 (patch)
tree6a421e4c5e67f806e28e3f197429e7fe9b851faf /deploy/adapters/ansible/roles
parente28554faea569b5e6d15b3816df702e664b5bba4 (diff)
vnc console can't be connected
JIRA: COMPASS-153 Change-Id: I99e85aea7c35ae6d82fac7b667eadd9577351e01 Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rw-r--r--deploy/adapters/ansible/roles/dashboard/tasks/main.yml5
-rw-r--r--deploy/adapters/ansible/roles/dashboard/vars/main.yml3
2 files changed, 7 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
index dd5c6fd0..01c7ebb3 100644
--- a/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
+++ b/deploy/adapters/ansible/roles/dashboard/tasks/main.yml
@@ -23,6 +23,11 @@
dest=/etc/openstack-dashboard/local_settings.py
backup=yes
+- name: update memcached conf
+ lineinfile: dest=/etc/memcached.conf state=present
+ regexp="-l *"
+ line="-l {{ internal_vip.ip }}"
+
- name: restart dashboard services
service: name={{ item }} state=restarted enabled=yes
with_items: services | union(services_noarch)
diff --git a/deploy/adapters/ansible/roles/dashboard/vars/main.yml b/deploy/adapters/ansible/roles/dashboard/vars/main.yml
index b6a965c2..39843a3e 100644
--- a/deploy/adapters/ansible/roles/dashboard/vars/main.yml
+++ b/deploy/adapters/ansible/roles/dashboard/vars/main.yml
@@ -3,4 +3,5 @@ packages_noarch:
- memcached
- openstack-dashboard
-services_noarch: []
+services_noarch:
+ - memcached