mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
solved bug
This commit is contained in:
parent
83cc40b718
commit
18437bc2ec
@ -20,9 +20,9 @@
|
|||||||
changed_when: backup_backup_remote_to_local_timer.changed or activate_all_timers | default(false) | bool
|
changed_when: backup_backup_remote_to_local_timer.changed or activate_all_timers | default(false) | bool
|
||||||
notify: restart backup-remote-to-local timer
|
notify: restart backup-remote-to-local timer
|
||||||
|
|
||||||
- name: create backup-remote-to-local.sh
|
- name: create backups-remote-to-local.sh
|
||||||
template:
|
template:
|
||||||
src: backup-remote-to-local.sh.j2
|
src: backups-remote-to-local.sh.j2
|
||||||
dest: "{{docker_backup_remote_to_local_folder}}backup-remote-to-local.sh"
|
dest: "{{docker_backup_remote_to_local_folder}}backups-remote-to-local.sh"
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
|
@ -4,4 +4,4 @@ OnFailure=systemd-notifier@%n.service cleanup-failed-docker-backups.service
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/bash {{docker_backup_remote_to_local_folder}}backup-remote-to-local.sh
|
ExecStart=/usr/bin/bash {{docker_backup_remote_to_local_folder}}backups-remote-to-local.sh
|
||||||
|
@ -1 +1 @@
|
|||||||
docker_backup_remote_to_local_folder: "{{path_administrator_scripts}}pull-primary-backups/"
|
docker_backup_remote_to_local_folder: "{{path_administrator_scripts}}backup-remote-to-local/"
|
Loading…
Reference in New Issue
Block a user