ansible-role-promtail icon indicating copy to clipboard operation
ansible-role-promtail copied to clipboard

[Question] Is ansible-lint being used?

Open ritmas opened this issue 11 months ago • 1 comments

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?

ritmas avatar Mar 12 '24 09:03 ritmas

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

patrickjahns avatar Apr 08 '24 03:04 patrickjahns