diff --git a/haproxy.yml b/haproxy.yml new file mode 100644 index 0000000..f2320d7 --- /dev/null +++ b/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 \ No newline at end of file