ansible/roles/docker-cluster/tasks/docker-watcher.yml
2020-12-03 23:54:55 +01:00

14 lines
276 B
YAML

---
- name: Create hostfile
become: yes
template:
src: usr/local/sbin/check-docker.j2
dest: /usr/local/sbin/check-docker
mode: '0755'
- name: create cron
become: yes
cron:
name: "check docker"
minute: "*/15"
job: "/usr/local/sbin/check-docker"