var-naming[no-role-prefix] false positive on cacheable
property of ansible.builtin.set_fact
#3483
Labels
cacheable
property of ansible.builtin.set_fact
#3483
Summary
ansible.builin.set_fact
can take acacheable
property to control longer term retention on facts.ansible-lint
doesn'tdistinguish this from the name of a fact to be created, and this triggers the
var-naming[no-role-prefix]
violation improperly.Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Use
ansible.builtin.set_fact
withcacheable
in a role.Playbook:
foo.yaml
Role
foo_role/tasks/main.yaml
Desired Behavior
Possible security bugs should be reported via email to
[email protected]
Actual Behavior
Please give some details of what is happening.
Include a minimum complete verifiable example with:
ansible-playbook --syntax-check playbook
The text was updated successfully, but these errors were encountered: