updated haproxy state
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2024-09-01 14:50:42 +02:00
parent 43b698f379
commit 9c12327b2a
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
---
{%- from "haproxy/map.jinja" import haproxy with context %}
{% for map in haproxy.maps %}
{% for map in haproxy.config.maps %}
haproxy-maps-{{ map }}:
file.managed:
- name: {{ haproxy.config.dir }}/maps/{{ map }}
@ -13,7 +13,7 @@ haproxy-maps-{{ map }}:
- service: haproxy-service
{% endfor %}
{% for static in haproxy.static %}
{% for static in haproxy.config.static %}
haproxy-static-{{ static }}:
file.managed:
- name: {{ haproxy.config.dir }}/static/{{ static }}

View File

@ -9,14 +9,6 @@ haproxy:
- libcurl4-openssl-dev
- libmaxminddb-dev
- libjansson-dev
maps:
- access
- allowhttp
- countries
- domains
- redirects
- ua
- vhosts
acme: false
hatop:
fetchurl: https://github.com/jhunt/hatop/releases/download
@ -44,6 +36,14 @@ haproxy:
- static
static:
- security.txt
maps:
- access
- allowhttp
- countries
- domains
- redirects
- ua
- vhosts
scripts:
haproxy:
path: mods/haproxy.c