mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 05:01:04 +01:00
22 lines
932 B
YAML
22 lines
932 B
YAML
- name: "create {{docker_docker_compose_restart_unhealthy}}"
|
|
file:
|
|
path: "{{docker_docker_compose_restart_unhealthy}}"
|
|
state: directory
|
|
mode: 0755
|
|
|
|
- name: create server_docker-compose-restart-unhealthy.py
|
|
copy:
|
|
src: server_docker-compose-restart-unhealthy.py
|
|
dest: "{{docker_docker_compose_restart_unhealthy}}server_docker-compose-restart-unhealthy.py"
|
|
|
|
- name: create server_docker-compose-restart-unhealthy.service
|
|
template:
|
|
src: server_docker-compose-restart-unhealthy.service.j2
|
|
dest: /etc/systemd/system/server_docker-compose-restart-unhealthy.service
|
|
notify: reload server_docker-compose-restart-unhealthy.service
|
|
|
|
- name: create server_docker-compose-restart-unhealthy.timer
|
|
template:
|
|
src: server_docker-compose-restart-unhealthy.timer.j2
|
|
dest: "/etc/systemd/system/server_docker-compose-restart-unhealthy.timer"
|
|
notify: restart server_docker-compose-restart-unhealthy.timer |