Don't automatically run restore

This commit is contained in:
Kuba Orlik 2026-06-24 18:03:39 +02:00
parent 1b9ff0a08d
commit 66de452547

View File

@ -169,13 +169,13 @@
minute: 15
hour: 4
job: "/root/backup-scripts/run.sh"
# only run restore manually, to prevent accidents if is-restore-necessary misfires for some reason
# - name: "Restore backup if necessary"
# command: /root/backup-scripts/restore-if-necessary.sh
# register: command_output
# args:
# chdir: /root/backup-scripts
- name: "Restore backup if necessary"
command: /root/backup-scripts/restore-if-necessary.sh
register: command_output
args:
chdir: /root/backup-scripts
- name: "Print command output"
debug:
var: command_output
# - name: "Print command output"
# debug:
# var: command_output