Skip to content

Is there any way to change yamllint options? #2612

Answered by apatard
robin-wayve asked this question in Q&A
Discussion options

You must be logged in to vote

afaik, it's possible to put a .yamllint file inside the project root directory and ansible-lint will use it.

Example of .yamllint:

---
extends: default

rules:
  indentation:
    indent-sequences: false

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by robin-wayve
Comment options

You must be logged in to vote
3 replies
@apatard
Comment options

@cognifloyd
Comment options

@robin-wayve
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants