mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-10 15:01:05 +01:00
23 lines
714 B
YAML
23 lines
714 B
YAML
- name: "create /home/administrator/scripts/docker-health-check/"
|
|
file:
|
|
path: "/home/administrator/scripts/docker-health-check"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: create docker-health-check.sh
|
|
copy:
|
|
src: docker-health-check.sh
|
|
dest: "/home/administrator/scripts/docker-health-check/docker-health-check.sh"
|
|
|
|
- name: create docker-health-check.service
|
|
copy:
|
|
src: docker-health-check.service
|
|
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
|