mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-04 17:31:33 +02:00
Implemented server tact
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: "reloaded docker-compose-restart-unhealthy.service"
|
||||
- name: "reload docker-compose-restart-unhealthy.service"
|
||||
systemd:
|
||||
name: docker-compose-restart-unhealthy.service
|
||||
state: reloaded
|
||||
|
@@ -13,10 +13,10 @@
|
||||
template:
|
||||
src: docker-compose-restart-unhealthy.service.j2
|
||||
dest: /etc/systemd/system/docker-compose-restart-unhealthy.service
|
||||
notify: reloaded docker-compose-restart-unhealthy.service
|
||||
notify: reload docker-compose-restart-unhealthy.service
|
||||
|
||||
- name: create docker-compose-restart-unhealthy.timer
|
||||
copy:
|
||||
src: docker-compose-restart-unhealthy.timer
|
||||
template:
|
||||
src: docker-compose-restart-unhealthy.timer.j2
|
||||
dest: "/etc/systemd/system/docker-compose-restart-unhealthy.timer"
|
||||
notify: restart docker-compose-restart-unhealthy.timer
|
@@ -2,8 +2,7 @@
|
||||
Description=starts docker-compose-restart-unhealthy.service
|
||||
|
||||
[Timer]
|
||||
OnBootSec=1min
|
||||
OnUnitActiveSec=1h
|
||||
OnCalendar={{on_calendar_docker_compose_restart_unhealthy}}
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Reference in New Issue
Block a user