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:
@@ -126,7 +126,7 @@
|
|||||||
|
|
||||||
- name: Copying over akka.conf
|
- name: Copying over akka.conf
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/akka.conf.j2"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/opendaylight/akka.conf"
|
dest: "{{ node_config_directory }}/opendaylight/akka.conf"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/akka.conf"
|
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/akka.conf"
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
|
|
||||||
- name: Copying over modules.conf
|
- name: Copying over modules.conf
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/modules.conf.j2"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/opendaylight/modules.conf"
|
dest: "{{ node_config_directory }}/opendaylight/modules.conf"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/modules.conf"
|
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/modules.conf"
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
|
|
||||||
- name: Copying over module-shards.conf
|
- name: Copying over module-shards.conf
|
||||||
template:
|
template:
|
||||||
src: "{{ role_path }}/templates/module-shards.conf.j2"
|
src: "{{ item }}"
|
||||||
dest: "{{ node_config_directory }}/opendaylight/module-shards.conf"
|
dest: "{{ node_config_directory }}/opendaylight/module-shards.conf"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/module-shards.conf"
|
- "{{ node_custom_config }}/opendaylight/{{ inventory_hostname }}/module-shards.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user