This commit is contained in:
parent
43b698f379
commit
9c12327b2a
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
{%- from "haproxy/map.jinja" import haproxy with context %}
|
{%- from "haproxy/map.jinja" import haproxy with context %}
|
||||||
{% for map in haproxy.maps %}
|
{% for map in haproxy.config.maps %}
|
||||||
haproxy-maps-{{ map }}:
|
haproxy-maps-{{ map }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ haproxy.config.dir }}/maps/{{ map }}
|
- name: {{ haproxy.config.dir }}/maps/{{ map }}
|
||||||
@ -13,7 +13,7 @@ haproxy-maps-{{ map }}:
|
|||||||
- service: haproxy-service
|
- service: haproxy-service
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for static in haproxy.static %}
|
{% for static in haproxy.config.static %}
|
||||||
haproxy-static-{{ static }}:
|
haproxy-static-{{ static }}:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ haproxy.config.dir }}/static/{{ static }}
|
- name: {{ haproxy.config.dir }}/static/{{ static }}
|
||||||
|
@ -9,14 +9,6 @@ haproxy:
|
|||||||
- libcurl4-openssl-dev
|
- libcurl4-openssl-dev
|
||||||
- libmaxminddb-dev
|
- libmaxminddb-dev
|
||||||
- libjansson-dev
|
- libjansson-dev
|
||||||
maps:
|
|
||||||
- access
|
|
||||||
- allowhttp
|
|
||||||
- countries
|
|
||||||
- domains
|
|
||||||
- redirects
|
|
||||||
- ua
|
|
||||||
- vhosts
|
|
||||||
acme: false
|
acme: false
|
||||||
hatop:
|
hatop:
|
||||||
fetchurl: https://github.com/jhunt/hatop/releases/download
|
fetchurl: https://github.com/jhunt/hatop/releases/download
|
||||||
@ -44,6 +36,14 @@ haproxy:
|
|||||||
- static
|
- static
|
||||||
static:
|
static:
|
||||||
- security.txt
|
- security.txt
|
||||||
|
maps:
|
||||||
|
- access
|
||||||
|
- allowhttp
|
||||||
|
- countries
|
||||||
|
- domains
|
||||||
|
- redirects
|
||||||
|
- ua
|
||||||
|
- vhosts
|
||||||
scripts:
|
scripts:
|
||||||
haproxy:
|
haproxy:
|
||||||
path: mods/haproxy.c
|
path: mods/haproxy.c
|
||||||
|
Loading…
Reference in New Issue
Block a user