mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
optimized variable names
This commit is contained in:
@@ -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:
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
docker_btrfs_health_check_folder: "{{path_administrator_scripts}}health-btrfs/"
|
||||
docker_health_btrfs_folder: "{{path_administrator_scripts}}health-btrfs/"
|
Reference in New Issue
Block a user