mirror of
https://github.com/nikdoof/ansible-borgmatic.git
synced 2025-12-13 02:42:18 +00:00
13 lines
316 B
YAML
13 lines
316 B
YAML
---
|
|
- 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
|