dockpack / base_git

Ansible role to install a modern Git for Centos/RHEL(6-7), Ubuntu, Debian
https://git-scm.com
MIT License
2 stars 0 forks source link

CVE-2020-1736 ansible-lint [208] File permissions not mentioned #20

Closed bbaassssiiee closed 3 years ago

bbaassssiiee commented 3 years ago
[208] File permissions not mentioned
base_git/tasks/main.yml:78
Task/Handler: Enable Git software collection
jgrumboe commented 3 years ago

Hi, The file resource is of type link, right? It doesn't make sense to set a mode on a symlink.

bbaassssiiee commented 3 years ago

This is to please ansible-lint 4.3.1. Your point is known https://github.com/ansible/ansible-lint/issues/994 but check https://github.com/ansible/ansible-lint/pull/982 too.

bbaassssiiee commented 3 years ago

Fixes the warning.