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

View File

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

View File

@@ -2,7 +2,7 @@
Description=starts health-btrfs.service
[Timer]
OnCalendar={{on_calendar_btrfs_health_check}}
OnCalendar={{on_calendar_health_btrfs}}
RandomizedDelaySec={{randomized_delay_sec}}
Persistent=false

View File

@@ -1 +1 @@
docker_btrfs_health_check_folder: "{{path_administrator_scripts}}health-btrfs/"
docker_health_btrfs_folder: "{{path_administrator_scripts}}health-btrfs/"