diff --git a/tasks/server.yml b/tasks/server.yml index a73f42b..9ac0f60 100644 --- a/tasks/server.yml +++ b/tasks/server.yml @@ -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