Fix odl custom config

Copy custom config files to remote hosts.
with_first_found items are not used.

Change-Id: I78faaded2c2b738454e6c6d971fd28994c753fb8
Closes-Bug: #1745559
This commit is contained in:
Eduardo Gonzalez 2018-01-26 08:21:49 +01:00
parent 02fa35dc8e
commit a98295f19d
1 changed files with 3 additions and 3 deletions

View File

@ -126,7 +126,7 @@
- name: Copying over akka.conf
template:
src: "{{ role_path }}/templates/akka.conf.j2"
src: "{{ item }}"
dest: "{{ node_config_directory }}/opendaylight/akka.conf"
with_first_found:
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/akka.conf"
@ -138,7 +138,7 @@
- name: Copying over modules.conf
template:
src: "{{ role_path }}/templates/modules.conf.j2"
src: "{{ item }}"
dest: "{{ node_config_directory }}/opendaylight/modules.conf"
with_first_found:
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/modules.conf"
@ -150,7 +150,7 @@
- name: Copying over module-shards.conf
template:
src: "{{ role_path }}/templates/module-shards.conf.j2"
src: "{{ item }}"
dest: "{{ node_config_directory }}/opendaylight/module-shards.conf"
with_first_found:
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/module-shards.conf"