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 {{journalctl_health_check_folder}}"
- name: "create {{health_journalctl_folder}}"
file:
path: "{{journalctl_health_check_folder}}"
path: "{{health_journalctl_folder}}"
state: directory
mode: 0755
- name: create health-journalctl.sh
copy:
src: health-journalctl.sh
dest: "{{journalctl_health_check_folder}}health-journalctl.sh"
dest: "{{health_journalctl_folder}}health-journalctl.sh"
- name: create health-journalctl.service
template:

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/bin/bash {{journalctl_health_check_folder}}health-journalctl.sh
ExecStart=/bin/bash {{health_journalctl_folder}}health-journalctl.sh

View File

@@ -2,7 +2,7 @@
Description=starts health-journalctl.service
[Timer]
OnCalendar={{on_calendar_journalctl_health_check}}
OnCalendar={{on_calendar_health_journalctl}}
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=false

View File

@@ -1 +1 @@
journalctl_health_check_folder: "{{path_administrator_scripts}}health-journalctl/"
health_journalctl_folder: "{{path_administrator_scripts}}health-journalctl/"