File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
ansible/roles/haproxy-config/tasks Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 3
3
vars :
4
4
service : " {{ item.value }}"
5
5
haproxy_templates :
6
+ - " {{ node_custom_config }}/haproxy-config/{{ inventory_hostname }}/{{ item.key }}.cfg"
7
+ - " {{ node_custom_config }}/haproxy-config/{{ item.key }}.cfg"
6
8
- " {{ node_custom_config }}/haproxy-config/{{ inventory_hostname }}/{{ haproxy_service_template }}"
7
9
- " {{ node_custom_config }}/haproxy-config/{{ haproxy_service_template }}"
8
10
- " templates/{{ haproxy_service_template }}"
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ Adds a means of overriding the haproxy config of individual
5
+ services. Custom template files can be placed under
6
+ ``{{ node_custom_config }}/haproxy-config/`` to be rendered
7
+ with the same variables as the generic template.
8
+ Template file names must match the service to override eg.
9
+ ``nova-novncproxy.cfg``.
You can’t perform that action at this time.
0 commit comments