ansible linter complains about relative path in role
l00ptr opened this issue · comments
Julian commented
ansible-lint complains about relative path when templating jinja file from the role itself. It's easy to fix, we can replace:
template:
src: "templates/{{ item }}.j2"
by
template:
src: "{{ item }}.j2"
Output of ansible-lint
[404] Doesn't need a relative path in role
/home/jvb/git_repo/Perso/piweb/infra/services/vm-hosting/base-config/ansible/roles.galaxy/geerlingguy.security/tasks/autoupdate-Debian.yml:5
Task/Handler: Copy unattended-upgrades configuration files in place.
Jeff Geerling commented
This was fixed in 448270d