Fix Copying 10-rest-connector.xml task

The destination folder for this task requires root permissions.

Change-Id: Icdc37cde7ba7b6971cf36632a9b6071b3cf600c2
This commit is contained in:
Victor Morales 2018-08-30 21:08:53 -07:00
parent 3f14a99f2a
commit cc5c347217

View File

@ -196,6 +196,7 @@
template: template:
src: "{{ item }}" src: "{{ item }}"
dest: "{{ node_config_directory }}/opendaylight/10-rest-connector.xml" dest: "{{ node_config_directory }}/opendaylight/10-rest-connector.xml"
become: true
with_first_found: with_first_found:
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/10-rest-connector.xml" - "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/10-rest-connector.xml"
- "{{ node_custom_config }}/opendaylight/10-rest-connector.xml" - "{{ node_custom_config }}/opendaylight/10-rest-connector.xml"