Merge "Add service specific custom haproxy config override"
This commit is contained in:
commit
c9b29175ec
@ -3,6 +3,8 @@
|
|||||||
vars:
|
vars:
|
||||||
service: "{{ item.value }}"
|
service: "{{ item.value }}"
|
||||||
haproxy_templates:
|
haproxy_templates:
|
||||||
|
- "{{ node_custom_config }}/haproxy-config/{{ inventory_hostname }}/{{ item.key }}.cfg"
|
||||||
|
- "{{ node_custom_config }}/haproxy-config/{{ item.key }}.cfg"
|
||||||
- "{{ node_custom_config }}/haproxy-config/{{ inventory_hostname }}/{{ haproxy_service_template }}"
|
- "{{ node_custom_config }}/haproxy-config/{{ inventory_hostname }}/{{ haproxy_service_template }}"
|
||||||
- "{{ node_custom_config }}/haproxy-config/{{ haproxy_service_template }}"
|
- "{{ node_custom_config }}/haproxy-config/{{ haproxy_service_template }}"
|
||||||
- "templates/{{ haproxy_service_template }}"
|
- "templates/{{ haproxy_service_template }}"
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Adds a means of overriding the haproxy config of individual
|
||||||
|
services. Custom template files can be placed under
|
||||||
|
``{{ node_custom_config }}/haproxy-config/`` to be rendered
|
||||||
|
with the same variables as the generic template.
|
||||||
|
Template file names must match the service to override eg.
|
||||||
|
``nova-novncproxy.cfg``.
|
Loading…
x
Reference in New Issue
Block a user