haproxy starter

master
alecsandru 9 months ago
parent 21bcada542
commit d0b5b4aaec
  1. 15
      haproxy.yml

@ -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
Loading…
Cancel
Save