2020-12-03 21:06:20 +00:00
|
|
|
---
|
|
|
|
- name: Create hostfile
|
|
|
|
become: yes
|
|
|
|
template:
|
|
|
|
src: usr/local/sbin/check-docker.j2
|
|
|
|
dest: /usr/local/sbin/check-docker
|
2020-12-03 22:54:55 +00:00
|
|
|
mode: '0755'
|
2020-12-03 21:06:20 +00:00
|
|
|
|
|
|
|
- name: create cron
|
|
|
|
become: yes
|
|
|
|
cron:
|
|
|
|
name: "check docker"
|
|
|
|
minute: "*/15"
|
|
|
|
job: "/usr/local/sbin/check-docker"
|