Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Is ansible-lint being used? #211

Open
ritmas opened this issue Mar 12, 2024 · 1 comment
Open

[Question] Is ansible-lint being used? #211

ritmas opened this issue Mar 12, 2024 · 1 comment

Comments

@ritmas
Copy link

ritmas commented Mar 12, 2024

There are few files related to ansible-lint (.yamllint and .ansible-lint), but is it really used? If so, what is the exact procedure to run it? Is tox somehow related to that?

@patrickjahns
Copy link
Owner

ansible-lint itself is currently not used - it was at some point replaced by https://github.com/thegeeklab/ansible-later
yamllint is part of the molecule lint step (see: https://github.com/patrickjahns/ansible-role-promtail/blob/master/molecule/default/molecule.yml#L6-L9 )

The testing can be run via tox (see Readme) - or you can just execute the ansible-lint command in the folder.
I'm open to re-introducing it and eventually replacing ansible-later again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants