optimized variable names

This commit is contained in:
2023-11-17 12:35:39 +01:00
parent 6bc6f52f5c
commit dfaa449989
47 changed files with 87 additions and 87 deletions

View File

@@ -1,13 +1,13 @@
- name: "create {{docker_compose_restart_unhealthy}}"
- name: "create {{heal_docker}}"
file:
path: "{{docker_compose_restart_unhealthy}}"
path: "{{heal_docker}}"
state: directory
mode: 0755
- name: create heal-docker.py
copy:
src: heal-docker.py
dest: "{{docker_compose_restart_unhealthy}}heal-docker.py"
dest: "{{heal_docker}}heal-docker.py"
- name: create heal-docker.service
template:

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/python {{docker_compose_restart_unhealthy}}heal-docker.py
ExecStart=/bin/python {{heal_docker}}heal-docker.py

View File

@@ -2,7 +2,7 @@
Description=starts heal-docker.service
[Timer]
OnCalendar={{on_calendar_docker_compose_restart_unhealthy}}
OnCalendar={{on_calendar_heal_docker}}
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=false

View File

@@ -1 +1 @@
docker_compose_restart_unhealthy: "{{path_administrator_scripts}}heal-docker/"
heal_docker: "{{path_administrator_scripts}}heal-docker/"