Replies: 2 comments
-
I agree it would be nice if the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I agree.
|
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
-
In #115 (Lint vault files) the resolution seems to be that Ansible must be configured to automatically decrypt vaults for
ansible-lint
to work on playbooks that have a vault.The problem is that I don't have the password in any file that Ansible would (or should) be able to decrypt automatically. I use
ansible-playbook --ask-vault-password
and have a password manager provide it when asked. If I try to lint a playbook that has a vault, I get:If I run the syntax check manually with
ansible-playbook --ask-vault-password --syntax-check playbook.yaml
, it asks me for the password and then checks the syntax as expected.It looks like I cannot do the same with
ansible-lint --ask-vault-password playbook.yaml
. Can this feature please be added for parity?Beta Was this translation helpful? Give feedback.
All reactions