Select profile in config file #2272
Unanswered
bryanburke
asked this question in
Ideas
Replies: 1 comment
-
We will add this, I only wanted to keep the original PR that added support for profiles as a "MVP". |
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.
-
I believe the ability to select the rule profile within the
.ansible-lint
or.config/ansible-lint.yml
config file would be helpful. For example, this YAML key-value pair:Would be equivalent to this command-line argument:
ansible-lint --profile=production # or -P=production
The command-line argument would of course take precedence. Also, if selecting multiple profiles is possible, then a YAML array may be more appropriate:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions