aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-04 15:14:31 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-04 15:14:31 +0000
commit5361c1204f65e51c624433fcff65a6d985cc352a (patch)
treea0be641e24af3237354abbe2a871002073411b75 /deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml
parentfd84ea047b0d05d7f7ad54a486944a2f57826364 (diff)
parenta44775fe72cd0e48b85e80265b04750ae82ce355 (diff)
Merge "bugfix: annotate the code in annotation in haproxy.cfg.j2"
Diffstat (limited to 'deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml')
-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]