ansible/roles/docker-cluster/tasks/hearthbeat.yml

19 lines
341 B
YAML
Raw Normal View History

2020-05-25 20:52:02 +00:00
---
2020-05-25 22:08:01 +00:00
- become: yes
block:
2020-05-25 20:52:02 +00:00
- name: install heartbeat
apt:
update_cache: yes
pkg:
- heartbeat
- name: copy configuration
copy:
src: etc/ha.d/ha.cf
dest: /etc/ha.d/ha.cf
- name: copy resources
copy:
src: etc/ha.d/haresources
dest: /etc/ha.d/haresources