What is the purpose of the ansible linter's ANSIBLE_DIRECTORY variable? #2620
-
Hi, So, what is the variable actually used for? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
By the usual naming convention, the config variable would be named |
Beta Was this translation helpful? Give feedback.
-
Some linters indeed works only if a directory is found, that's the case with ansible-lint, and you can override the name of such directory |
Beta Was this translation helpful? Give feedback.
You might also try passing
ANSIBLE_ANSIBLE_LINT_ARGUMENTS: --project-dir <path>
. According to ansible-lint's documentation,--project-dir
specifies the: