mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 05:01:04 +01:00
21 lines
656 B
YAML
21 lines
656 B
YAML
- name: "create {{docker_health_check_folder}}"
|
|
file:
|
|
path: "{{docker_health_check_folder}}"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: create docker-health-check.sh
|
|
copy:
|
|
src: docker-health-check.sh
|
|
dest: "{{docker_health_check_folder}}docker-health-check.sh"
|
|
|
|
- name: create docker-health-check.service
|
|
template: src=docker-health-check.service.j2 dest=/etc/systemd/system/docker-health-check.service
|
|
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
|