Auto-Detection not recognizing playbook not in playbook directory. #2166
Unanswered
gone-for-coding
asked this question in
General
Replies: 1 comment 4 replies
-
That is by design, read output of |
Beta Was this translation helpful? Give feedback.
4 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
When running
ansible-lint
in a directory with several files and one playbook only one issue is reported whereasansible-lint filename
also reports further issues in the file.Issue Type
Ansible and Ansible Lint details
OS / ENVIRONMENT
Debian 11
STEPS TO REPRODUCE
Create a playbook with several issues and test as stated above.
Desired Behavior
yaml: comment not indented like content (comments-indentation)
install_check.yml:48
command-instead-of-shell: Use shell only when shell functionality is required.
install_check.yml:50 Task/Handler: shell whoami
fqcn-builtins: Use FQCN for builtin actions.
install_check.yml:50 Task/Handler: shell whoami
no-changed-when: Commands should not change things if nothing needs doing.
install_check.yml:50 Task/Handler: shell whoami
unnamed-task: All tasks should be named.
install_check.yml:50 Task/Handler: shell whoami
Actual Behavior
yaml: comment not indented like content (comments-indentation)
install_check.yml:48
Verbose output of both tests
Beta Was this translation helpful? Give feedback.
All reactions