haproxy starter

This commit is contained in:
2024-05-03 13:34:26 +00:00
parent 21bcada542
commit d0b5b4aaec

15
haproxy.yml Normal file
View File

@@ -0,0 +1,15 @@
- name: Setup HAProxy
hosts: all
become: yes
become_method: sudo
become_user: root
tasks:
- name: Install package
package:
name: haproxy
state: present
- name: Start HAProxy
service:
name: haproxy
enabled: true
state: started