mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-24 19:06:35 +01:00
14 lines
364 B
YAML
14 lines
364 B
YAML
---
|
|
- name: Verify
|
|
hosts: all
|
|
tasks:
|
|
- name: Ensure Borgmatic is installed correctly
|
|
command: borgmatic --version
|
|
|
|
- name: Ensure Borg is installed correctly
|
|
command: borgmatic borg --version
|
|
|
|
- name: Ensure produced YAML is valid
|
|
command: |
|
|
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" /etc/borgmatic/config.yaml
|