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

@@ -5,16 +5,16 @@
- python-psutil
state: present
- name: "create {{docker_backups_cleanup}}"
- name: "create {{docker_cleanup_backups}}"
file:
path: "{{docker_backups_cleanup}}"
path: "{{docker_cleanup_backups}}"
state: directory
mode: 0755
- name: create cleanup-backups.py
copy:
src: "cleanup-backups.py"
dest: "{{docker_backups_cleanup}}cleanup-backups.py"
dest: "{{docker_cleanup_backups}}cleanup-backups.py"
- name: create cleanup-backups.service
template:

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service
[Service]
Type=oneshot
ExecStart=/usr/bin/python {{docker_backups_cleanup}}cleanup-backups.py --backups-folder-path {{backups_folder_path}} --maximum-backup-size-percent {{size_percent_maximum_backup}}
ExecStart=/usr/bin/python {{docker_cleanup_backups}}cleanup-backups.py --backups-folder-path {{backups_folder_path}} --maximum-backup-size-percent {{size_percent_maximum_backup}}

View File

@@ -1 +1 @@
docker_backups_cleanup: "{{path_administrator_scripts}}cleanup-backups/"
docker_cleanup_backups: "{{path_administrator_scripts}}cleanup-backups/"