From: chenshuai@huawei.com Date: Tue, 30 Aug 2016 02:52:12 +0000 (-0400) Subject: change odl password for moon X-Git-Tag: colorado.1.0~23 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=87a1af37a0279896f738a80afc41194a686d107a;p=compass4nfv.git change odl password for moon JIRA: COMPASS-481 Change-Id: I2075044230a393048803a6776b31927d7fff505c Signed-off-by: chenshuai@huawei.com (cherry picked from commit cc296e69fce067abcffb99262ebf2c8fb514d2a2) --- 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" +