fixes some linting and ansible warnings

This commit is contained in:
jerome.gagnon 2023-10-08 23:46:51 +00:00
parent 54f42b1515
commit d9dfd5c6b5
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,4 @@
--- ---
skip_list: skip_list:
- fqcn-builtins - fqcn-builtins
- var-naming[no-role-prefix]

View File

@ -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