diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-29 22:52:12 -0400 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-08-29 22:52:12 -0400 |
commit | cc296e69fce067abcffb99262ebf2c8fb514d2a2 (patch) | |
tree | 8e38d353bdca9b99390199e61590c2d736af99d3 /deploy/adapters/ansible/openstack_mitaka_xenial/roles | |
parent | 0e622c06737e9da4a97ca86452b9ebc23e8a330b (diff) |
change odl password for moon
JIRA: COMPASS-481
Change-Id: I2075044230a393048803a6776b31927d7fff505c
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/openstack_mitaka_xenial/roles')
-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" + |