mirror of
https://github.com/KevinMidboe/schleppe-pulumi.git
synced 2026-01-10 19:35:49 +00:00
21 lines
346 B
YAML
21 lines
346 B
YAML
---
|
|
- file:
|
|
path: "{{ haproxy_certs_dir }}"
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
|
|
- template:
|
|
src: haproxy.cfg.j2
|
|
dest: "{{ haproxy_cfg_path }}"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
validate: "haproxy -c -f %s"
|
|
notify: reload haproxy
|
|
|
|
- service:
|
|
name: haproxy
|
|
state: started
|