feat: initial commit
This commit is contained in:
parent
e19f269ec5
commit
214e91a391
16 changed files with 546 additions and 93 deletions
12
tasks/config.yaml
Normal file
12
tasks/config.yaml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
---
|
||||
|
||||
# configure haproxy.cfg
|
||||
- name: "config - haproxy.cfg"
|
||||
ansible.builtin.template:
|
||||
src: "templates/haproxy.cfg.j2"
|
||||
dest: "/etc/haproxy/haproxy.cfg"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: "0644"
|
||||
validate: "haproxy -c -f %s"
|
||||
notify: "restart haproxy"
|
||||
Loading…
Add table
Add a link
Reference in a new issue