Correct code example for resolving risky-file-permissions does not pass lint #2997
Unanswered
jamescooke
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Please, read again your example and the error. |
Beta Was this translation helpful? Give feedback.
7 replies
-
Please make a PR to remove the offending line from example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Correct code example 2 for
risky-file-permissions
does not pass ansible-lint - raisesyaml[key-duplicates]
.Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
# Lint roles ansible-lint roles/
Desired Behavior
Linting passes with 0 errors - this is the "correct" code.
Linting passes with no warnings, especially not warnings regarding the
risky-file-permissions
error type that we're reading the documentation trying to fix.Actual Behavior
Linting fails with 1 error (and two warnings which are also concerning)
Error:
Full output:
Beta Was this translation helpful? Give feedback.
All reactions