bug fix: chown odl folder 87/3987/1
authorchenshuai@huawei.com <chenshuai@huawei.com>
Sat, 5 Dec 2015 06:43:20 +0000 (14:43 +0800)
committerchenshuai@huawei.com <chenshuai@huawei.com>
Sat, 5 Dec 2015 06:43:20 +0000 (14:43 +0800)
JIRA: COMPASS-181

Change-Id: Ib0bf4634f84126fcc23767b647d605b61e2634c8
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml

index e2af145..0c13ff2 100755 (executable)
   shell: >
     rm -rf {{ odl_home }}/data/*;
 
-- name: chown OpenDaylight Directory and Files
-  shell: >
-    chown -R odl:odl "{{ odl_home }}";
-    chown odl:odl "{{ service_file.dst }}";
+#- name: chown OpenDaylight Directory and Files
+#  shell: >
+#    chown -R odl:odl "{{ odl_home }}";
+#    chown odl:odl "{{ service_file.dst }}";
 
 
 ##########################################################################################################
 - name: Run OpenVSwitch Script
   include: openvswitch.yml
 
+
+- name: chown OpenDaylight Directory and Files
+  shell: >
+    chown -R odl:odl "{{ odl_home }}";
+    chown odl:odl "{{ service_file.dst }}";
+
 #- name: Configure Neutron1
 #  shell: >
 #    crudini --set /etc/neutron/plugins/ml2/ml2_conf.ini ml2 mechanism_drivers opendaylight;