From a44775fe72cd0e48b85e80265b04750ae82ce355 Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Mon, 4 Jan 2016 16:15:02 +0800 Subject: bugfix: annotate the code in annotation in haproxy.cfg.j2 JIRA: COMPASS-237 Change-Id: Ie796dcc07c57aa170ede924551748d8494469239 Signed-off-by: chenshuai@huawei.com --- deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml') 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] -- cgit 1.2.3-korg