|
|
|
@ -96,9 +96,9 @@
|
|
|
|
|
pause:
|
|
|
|
|
prompt: ZAPISZ TEN KLUCZ W MANADŻERZE HASEŁ ☝ i wciśnij ENTER
|
|
|
|
|
|
|
|
|
|
# - name: initiate restic reposiotory
|
|
|
|
|
# command: restic init --password-file=/backup-pwd -r sftp:{{SERVER_NAME}}-backup@{{RPI_NAME}}:data
|
|
|
|
|
# run_once: true
|
|
|
|
|
- name: initiate restic reposiotory
|
|
|
|
|
command: restic init --password-file=/backup-pwd -r sftp:{{SERVER_NAME}}-backup@{{RPI_NAME}}:data
|
|
|
|
|
run_once: true
|
|
|
|
|
- name: Create the backup script
|
|
|
|
|
ansible.builtin.template:
|
|
|
|
|
src: "backup.sh.j2"
|
|
|
|
|