mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
fixes some linting and ansible warnings
This commit is contained in:
parent
54f42b1515
commit
d9dfd5c6b5
@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
skip_list:
|
skip_list:
|
||||||
- fqcn-builtins
|
- fqcn-builtins
|
||||||
|
- var-naming[no-role-prefix]
|
@ -4,10 +4,13 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Ensure Borgmatic is installed correctly
|
- name: Ensure Borgmatic is installed correctly
|
||||||
command: borgmatic --version
|
command: borgmatic --version
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure Borg is installed correctly
|
- name: Ensure Borg is installed correctly
|
||||||
command: borgmatic borg --version
|
command: borgmatic borg --version
|
||||||
|
changed_when: false
|
||||||
|
|
||||||
- name: Ensure produced YAML is valid
|
- name: Ensure produced YAML is valid
|
||||||
command: |
|
command: |
|
||||||
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" /etc/borgmatic/config.yaml
|
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" /etc/borgmatic/config.yaml
|
||||||
|
changed_when: false
|
||||||
|
Loading…
Reference in New Issue
Block a user