parent
21bcada542
commit
d0b5b4aaec
@ -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…
Reference in new issue