mirror of
https://github.com/nikdoof/ansible-borgmatic.git
synced 2025-12-13 10:52:19 +00:00
Initial commit
This commit is contained in:
12
tasks/init.yaml
Normal file
12
tasks/init.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Initialize borg check_repositories
|
||||
ansible.builtin.command: "/usr/local/bin/borgmatic init --encryption repokey" # noqa 301
|
||||
no_log: true
|
||||
async: 300
|
||||
poll: 0
|
||||
- name: Enable borgmatic.timer
|
||||
ansible.builtin.systemd:
|
||||
name: borgmatic.timer
|
||||
enabled: true
|
||||
masked: false
|
||||
state: started
|
||||
Reference in New Issue
Block a user