Init repo
This commit is contained in:
parent
4fc7125b16
commit
20fc1825e0
2 changed files with 6 additions and 0 deletions
|
@ -27,3 +27,8 @@
|
|||
user: "{{ borg_user }}"
|
||||
cron_file: "{{ borgmatic_timer_cron_name }}"
|
||||
job: "borgmatic -c /etc/borgmatic/{{ borgmatic_config_name }}"
|
||||
|
||||
- name: Init repo
|
||||
ansible.builtin.expect:
|
||||
command: "borgmatic init -e {{ borg_repo_key}}"
|
||||
responses: ^.*want to continue connecting.*$: "yes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue