try dynamic ips 2

This commit is contained in:
LinuxSquare 2024-02-22 22:08:03 +01:00
parent e427bbbdaa
commit 91145dade2

View file

@ -20,6 +20,9 @@ haproxy_pkg_config:
file.managed:
- name: /etc/haproxy/haproxy.cfg
- source: salt://{{ tpldir }}/files/haproxy_config.jinja
- template: jinja
- context:
ipv4: {{ ipv4 }}
- user: root
- group: root
- mode: '0644'