2023-03-26 17:05:06 +02:00
|
|
|
- name: "create {{docker_health_check_folder}}"
|
2022-12-25 13:40:38 +01:00
|
|
|
file:
|
2023-03-26 17:05:06 +02:00
|
|
|
path: "{{docker_health_check_folder}}"
|
2022-12-25 13:40:38 +01:00
|
|
|
state: directory
|
|
|
|
mode: 0755
|
|
|
|
|
|
|
|
- name: create docker-health-check.sh
|
|
|
|
copy:
|
|
|
|
src: docker-health-check.sh
|
2023-03-26 17:05:06 +02:00
|
|
|
dest: "{{docker_health_check_folder}}docker-health-check.sh"
|
2022-12-25 13:40:38 +01:00
|
|
|
|
|
|
|
- name: create docker-health-check.service
|
2023-03-26 17:05:06 +02:00
|
|
|
template: src=docker-health-check.service.j2 dest=/etc/systemd/system/docker-health-check.service
|
2022-12-25 13:40:38 +01:00
|
|
|
notify: restart docker-health-check.service
|
|
|
|
|
|
|
|
- name: create docker-health-check.timer
|
|
|
|
copy:
|
|
|
|
src: docker-health-check.timer
|
|
|
|
dest: "/etc/systemd/system/docker-health-check.timer"
|
|
|
|
notify: restart docker-health-check.timer
|