Allow a custom keepalived configuration file

TrivialFix

Change-Id: If63053d707e0e6642883745c702d13b63093131a
This commit is contained in:
Christian Berendt 2016-09-12 18:32:52 +02:00
parent 6417595b9f
commit 4e30d0f405

@ -32,10 +32,12 @@
- name: Copying over keepalived.conf
template:
src: "{{ item }}.conf.j2"
dest: "{{ node_config_directory }}/{{ item }}/{{ item }}.conf"
with_items:
- "keepalived"
src: "{{ item }}"
dest: "{{ node_config_directory }}/keepalived/keepalived.conf"
with_first_found:
- "{{ node_custom_config }}/keepalived/{{ inventory_hostname }}/keepalived.conf"
- "{{ node_custom_config }}/keepalived/keepalived.conf"
- "keepalived.conf.j2"
- name: Copying over haproxy.pem
copy: