aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-04 16:15:02 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-01-04 19:36:06 +0800
commita44775fe72cd0e48b85e80265b04750ae82ce355 (patch)
tree8d8c209b0657a1712f218a729123357b4f47bbdc /deploy/adapters/ansible/roles/odl_cluster
parent917b53a734ccf31d2117458708e83a22175538b5 (diff)
bugfix: annotate the code in annotation in haproxy.cfg.j2
JIRA: COMPASS-237 Change-Id: Ie796dcc07c57aa170ede924551748d8494469239 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster')
-rwxr-xr-xdeploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
index 08881202..147338c7 100755
--- a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
+++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
@@ -208,7 +208,7 @@
- name: drop and recreate neutron database
shell: mysql -e "drop database if exists neutron;";
mysql -e "create database neutron character set utf8;";
- mysql -e "grant all on neutron.* to 'neutron'@'%' identified by 'console';";
+ mysql -e "grant all on neutron.* to 'neutron'@'%' identified by '{{ NEUTRON_DBPASS }}';";
su -s /bin/sh -c "neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron;
when: inventory_hostname == haproxy_hosts.keys()[0]