ansible.logrotate icon indicating copy to clipboard operation
ansible.logrotate copied to clipboard

Fixed yamllint and ansible-lint issues

Open basictheprogram opened this issue 1 year ago • 0 comments

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

basictheprogram avatar Mar 14 '23 22:03 basictheprogram