From cc296e69fce067abcffb99262ebf2c8fb514d2a2 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 --- .../openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'deploy') 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