vitabaks / postgresql_cluster

PostgreSQL High-Availability Cluster (based on Patroni). Automating with Ansible.
https://postgresql-cluster.org
MIT License
1.69k stars 411 forks source link

Fix yaml[truthy] from all workflow files #371

Closed ThomasSanson closed 1 year ago

ThomasSanson commented 1 year ago

The yaml[truthy] rule was removed from the ansible-lint configuration file, so it is no longer necessary to exclude it from the workflows. This commit removes the yaml[truthy] exclusion from all workflow files.

ThomasSanson commented 1 year ago

Hello @vitabaks,

I've been giving some thought to the files in the .github directory. Since these files are not part of Ansible, I'm wondering if it might be better to ignore them when running ansible-lint, and just use yamllint instead.

What are your thoughts on this? Do you think it would be a good idea, or is there a reason for including these files in ansible-lint that I may have missed?

Looking forward to your feedback.

vitabaks commented 1 year ago

That's right

ansible-lint needs to be performed only for playboys and ansible roles.