17 lines
436 B
YAML
17 lines
436 B
YAML
---
|
|
- name: Verify
|
|
hosts: all
|
|
tasks:
|
|
- name: Ensure Borgmatic is installed correctly
|
|
command: borgmatic --version
|
|
changed_when: false
|
|
|
|
- name: Ensure Borg is installed correctly
|
|
command: borgmatic borg --version
|
|
changed_when: false
|
|
|
|
- name: Ensure produced YAML is valid
|
|
command: |
|
|
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" /etc/borgmatic/config.yaml
|
|
changed_when: false
|