feat: initial commit

This commit is contained in:
Simon Cornet 2026-04-17 13:34:09 +02:00
commit 214e91a391
16 changed files with 546 additions and 93 deletions

16
tasks/install.yaml Normal file
View file

@ -0,0 +1,16 @@
---
# install haproxy
- name: "install - haproxy"
ansible.builtin.apt:
name: "haproxy"
state: "latest"
cache_valid_time: "120"
when: 'ansible_os_family == "Debian"'
# start haproxy service
- name: "service - start haproxy"
ansible.builtin.systemd:
name: "haproxy"
state: "started"
enabled: true