This commit is contained in:
Lars Hahn 2024-11-27 22:37:12 +01:00
parent 3508f62085
commit 1d99257ead

View File

@ -80,7 +80,7 @@
- name: setup borg local repository
shell:
cmd: "BORG_PASSPHRASE=$(cat {{ backup_home }}/.borg.key) borg init --encryption repokey {{ backup_location }}/{{ backup_app }}"
cmd: "BORG_PASSPHRASE=$(cat {{ backup_home }}/.borg.key) borg init --encryption repokey {{ backup_location }}/{{ backup_app }}"
creates: "{{ backup_location }}/{{ backup_app }}/config"
become_user: "{{ backup_owner }}"
become: yes