diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-29 22:52:12 -0400 |
---|---|---|
committer | shuai chen <chenshuai@huawei.com> | 2016-09-01 02:47:43 +0000 |
commit | 87a1af37a0279896f738a80afc41194a686d107a (patch) | |
tree | 22ae69b0b01f058eb4f95559ec2b9f8002fdb77a /deploy/adapters/ansible | |
parent | 9e37fa4ca402cba4884d42963490bead46092dda (diff) |
change odl password for moon
JIRA: COMPASS-481
Change-Id: I2075044230a393048803a6776b31927d7fff505c
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
(cherry picked from commit cc296e69fce067abcffb99262ebf2c8fb514d2a2)
Diffstat (limited to 'deploy/adapters/ansible')
-rwxr-xr-x | deploy/adapters/ansible/openstack_mitaka_xenial/roles/odl_cluster/tasks/openvswitch.yml | 5 |
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" + |