Replies: 2 comments
-
I confirm this issue. My output:
|
Beta Was this translation helpful? Give feedback.
-
I've been noticing the same problem for awhile now, processing of vaulted group_vars. Only occurs running ansible-lint without an explicit playbook argument. In the project's log below, group_vars/all.yml is encrypted. The project works and passes both lint and ansible-playbook --syntax-check.
Log captured using ansible-core 2.15.0 and ansible-lint 6.17.1
|
Beta Was this translation helpful? Give feedback.
-
My ansible repo follows the collections directory structure. I have an
ansible.cfg
at the root containing avault_password_file =
entry. If I run anyansible-playbook --check <playbook>
, it works just fine and decrypts the vault. If I runansible-lint
, however, I get a bunch of warnings:I tried setting
ANSIBLE_VAULT_PASSWORD_FILE
as an env var too, but no luck.What am I doing wrong? Based on #115 it seems like this should work. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions