Don't automatically run restore
This commit is contained in:
parent
1b9ff0a08d
commit
66de452547
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user