Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Fixed yamllint and ansible-lint issues#41

Open
basictheprogram wants to merge 1 commit intoarillso:masterfrom
basictheprogram:fix-linting
Open

Fixed yamllint and ansible-lint issues#41
basictheprogram wants to merge 1 commit intoarillso:masterfrom
basictheprogram:fix-linting

Conversation

@basictheprogram
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant