geerlingguy / ansible-role-security

Ansible Role - Security

Home Page:https://galaxy.ansible.com/geerlingguy/security/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ansible linter complains about relative path in role

l00ptr opened this issue · comments

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.

This was fixed in 448270d