From 87a1af37a0279896f738a80afc41194a686d107a Mon Sep 17 00:00:00 2001 From: "chenshuai@huawei.com" Date: Mon, 29 Aug 2016 22:52:12 -0400 Subject: change odl password for moon JIRA: COMPASS-481 Change-Id: I2075044230a393048803a6776b31927d7fff505c Signed-off-by: chenshuai@huawei.com (cherry picked from commit cc296e69fce067abcffb99262ebf2c8fb514d2a2) --- .../openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deploy/adapters') 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" + -- cgit 1.2.3-korg