Added programm to restart unhealthy docker compose containers

This commit is contained in:
2023-03-26 20:36:36 +02:00
parent 95c1e9e942
commit ec6e4c1a9f
8 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
- name: "restart docker-compose-restart-unhealthy.service"
systemd:
name: docker-compose-restart-unhealthy.service
state: restarted
enabled: yes
daemon_reload: yes
- name: "restart docker-compose-restart-unhealthy.timer"
systemd:
name: docker-compose-restart-unhealthy.timer
state: restarted
enabled: yes
daemon_reload: yes