ansible plays for docker, haproxy & varnish

This commit is contained in:
2025-12-28 21:38:13 +01:00
parent c2a04735a4
commit ec0eb23acd
58 changed files with 815 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
---
- 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