diff --git a/defaults/main.yml b/defaults/main.yml index 9ddef30..e93bc21 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -8,18 +8,21 @@ borgmatic_keys: public: "" borgmatic_checks: - - frequency: 4 weeks - name: repository - - frequency: 2 weeks - name: archives + - name: repository + frequency: 4 weeks + - name: extract + frequency: 2 weeks + borgmatic_healthchecks: "" borgmatic_exclude_patterns: [] borgmatic_repositories: [] borgmatic_source_directories: [] + borgmatic_retention: daily: 7 monthly: 0 weekly: 4 + borgmatic_name: "{{ inventory_hostname }}_{now}" borgmatic_compression: none borgmatic_passphrase: "" diff --git a/handlers/main.yml b/handlers/main.yml index c3fb423..f2073c3 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -3,7 +3,8 @@ - name: Créer le dépôt ansible.builtin.command: - cmd: borgmatic init --encryption repokey-blake2 +# cmd: borgmatic init --encryption repokey-blake2 + cmd: borgmatic init --encryption repokey become: true - name: Activer la planification