Solved bugs

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-16 13:29:12 +02:00
parent 4f0bb25bc9
commit 94c2a7d805
2 changed files with 8 additions and 6 deletions

View File

@ -10,15 +10,17 @@
- name: create backups-cleanup.py - name: create backups-cleanup.py
copy: copy:
src: backups-cleanup.py src: "backups-cleanup.py"
dest: {{docker_backups_cleanup}}backups-cleanup.py dest: "{{docker_backups_cleanup}}backups-cleanup.py"
- name: create backups-cleanup.service - name: create backups-cleanup.service
template: src=backups-cleanup.service.j2 dest=/etc/systemd/system/backups-cleanup.service template:
src: "backups-cleanup.service.j2"
dest: "/etc/systemd/system/backups-cleanup.service"
notify: reload backups-cleanup.service notify: reload backups-cleanup.service
- name: create backups-cleanup.timer - name: create backups-cleanup.timer
template: template:
src: backups-cleanup.timer.j2 src: "backups-cleanup.timer.j2"
dest: "/etc/systemd/system/backups-cleanup.timer" dest: "/etc/systemd/system/backups-cleanup.timer"
notify: restart backups-cleanup.timer notify: restart backups-cleanup.timer

View File

@ -4,8 +4,8 @@
state: directory state: directory
mode: 0755 mode: 0755
- copy: create disc-space-check.sh - name: create disc-space-check.sh
template: copy:
src: disc-space-check.sh src: disc-space-check.sh
dest: "{{disc_space_check_folder}}disc-space-check.sh" dest: "{{disc_space_check_folder}}disc-space-check.sh"