mirror of https://github.com/ceph/ceph-ansible.git
16 lines
377 B
YAML
16 lines
377 B
YAML
---
|
|
- apt_repository: repo=ppa:vbernat/haproxy-1.5 state=present
|
|
|
|
- apt: name={{ item }} state=present
|
|
with_items:
|
|
- haproxy
|
|
- socat
|
|
|
|
- copy: src=precise/haproxy dest=/etc/default/haproxy
|
|
notify: restart haproxy
|
|
|
|
- template: src=precise/haproxy.cfg dest=/etc/haproxy/haproxy.cfg backup=yes
|
|
notify: restart haproxy
|
|
|
|
- service: name=haproxy state=started enabled=yes
|