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