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

@@ -3,16 +3,16 @@
name: python-requests
state: present
- name: "create {{ nginx_health_check_folder }}"
- name: "create {{ health_nginx_folder }}"
file:
path: "{{ nginx_health_check_folder }}"
path: "{{ health_nginx_folder }}"
state: directory
mode: 0755
- name: create health-nginx.py
copy:
src: health-nginx.py
dest: "{{ nginx_health_check_folder }}health-nginx.py"
dest: "{{ health_nginx_folder }}health-nginx.py"
- name: create health-nginx.service
template:

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python3 {{ nginx_health_check_folder }}health-nginx.py
ExecStart=/usr/bin/python3 {{ health_nginx_folder }}health-nginx.py

View File

@@ -2,7 +2,7 @@
Description=starts health-nginx.service
[Timer]
OnCalendar={{ on_calendar_nginx_health_check }}
OnCalendar={{ on_calendar_health_nginx }}
RandomizedDelaySec={{ randomized_delay_sec }}
Persistent=false

View File

@@ -1 +1 @@
nginx_health_check_folder: "{{ path_administrator_scripts }}health-nginx/"
health_nginx_folder: "{{ path_administrator_scripts }}health-nginx/"