summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-08-30 06:15:54 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-30 06:15:54 +0000
commit1c94318a600fe771d5dbc270f31b35644218864e (patch)
treeff42cbc3b690b26e10b9d059111654a22aef9460
parente895f1fa7fd3f7f8a3152376bc30cbdd51028566 (diff)
parentcc296e69fce067abcffb99262ebf2c8fb514d2a2 (diff)
Merge "change odl password for moon"
-rwxr-xr-xdeploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
index 021143fc..ee477a3f 100755
--- a/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
+++ b/deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml
@@ -151,3 +151,8 @@
- name: execute ml2 configuration script
command: su -s /bin/sh -c "/opt/ml2_conf.sh;"
+
+- name: change odl password for moon
+ shell: crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2_odl password {{ ADMIN_PASS }}
+ when: moon == "Enable"
+