patrickjahns / ansible-role-promtail

🔧 Ansible role for deploying promtail
MIT License
101 stars 59 forks source link

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

Open ritmas opened 6 months ago

ritmas commented 6 months ago

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 commented 5 months ago

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