try dynamic ips 2
This commit is contained in:
parent
e427bbbdaa
commit
91145dade2
1 changed files with 3 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue