Replies: 1 comment
-
I converted this to a discussion as this report did not follow multiple sections ofthe guidelines: the example is not minimal, in fact the mentioned repository reports hundreads of unrelated violations, making very hard to dig on whatever is happening here. The reality is that there is a bug as I seen ansible syntax check not creating these warnings, but without a really minimized case to reproduce it I doubt anyone would work on fixing it. Most bugs can be reproduced with a single file, but in some cases you can create a temporary git repository that contains minimal code to produce this issue and nothing else. I also observed that you did not use the latest version of the linter, which is required for any report. In that case it did not matter as I was able to reproduce it but is not ok to expect maintainers to do this. |
Beta Was this translation helpful? Give feedback.
-
Summary
With previous version of ansible-lint, templates were found in the 'templates' folder for a role, and it seems, according to ansible/ansible#17960 (comment) that t he 'templates' folder is the one to use
Issue Type
Ansible and Ansible Lint details
ansible-2.9.17-2.fc33.noarch
python3-ansible-lint-4.3.5-1.fc33.noarch
OS / ENVIRONMENT
Fedora 33
STEPS TO REPRODUCE
find|grep dir.xml ./ansible-ipi-install/roles/node-prep/templates/dir.xml.j2
Desired Behaviour
It should have found the templates as it did in the past
Possible security bugs should be reported via email to
security@ansible.com
Actual Behaviour
It doesn't find the tempaltes
Please give some details of what is actually happening.
Include a minimum complete verifiable example with:
Playbook at https://github.com/openshift-kni/baremetal-deploy/tree/master/ansible-ipi-install
ansible-playbook --syntax-check playbook
Beta Was this translation helpful? Give feedback.
All reactions