mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2025-08-02 13:49:37 +02:00
The initialization of the repository must be activated and does not take place automatically.
This commit is contained in:
parent
2200677f5e
commit
0e109849e7
@ -1,10 +1,10 @@
|
|||||||
---
|
---
|
||||||
# - name: Init repository
|
- name: Init repository
|
||||||
# when:
|
when:
|
||||||
# - install_backup is not defined or install_backup
|
- install_backup is not defined or install_backup
|
||||||
# - borgmatic_initialization_repo is not defined or borgmatic_initialization_repo
|
- borgmatic_initialization_repo is defined and borgmatic_initialization_repo
|
||||||
# tags:
|
tags:
|
||||||
# - install_backup
|
- install_backup
|
||||||
# ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
# cmd: "su - {{ borgbackup_user }} -c '/usr/local/bin/borgmatic rcreate --encryption keyfile --append-only'"
|
cmd: "su - {{ borgbackup_user }} -c '/usr/local/bin/borgmatic rcreate --encryption keyfile --append-only'"
|
||||||
# ...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user