ansible.logrotate
ansible.logrotate copied to clipboard
Fixed yamllint and ansible-lint issues
I use pre-commit and this fixes some of the errors found by yamllint and ansible-lint.
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.27.1
hooks:
- id: yamllint
files: \.(yaml|yml)$
types: [file, yaml]
entry: yamllint --strict -f parsable
- repo: https://github.com/ansible/ansible-lint.git
rev: v6.5.2
hooks:
- id: ansible-lint
files: \.(yaml|yml)$
entry: ansible-lint --force-color -v