Suppressing YAML warning in vscode when !vault is used in var files?

gawainsr
Fri, 10 Nov 2023 02:23:32 +0000
Get Help

I’ve been trying to figure out how to get the YAML VSCODE module to stop reporting a problem in my ansible var files, such as this one, where it highlights !vault as an unresolved tag.

ansible_connection: winrm
ansible_winrm_transport: credssp
ansible_winrm_scheme: https
ansible_winrm_server_cert_validation: ignore
ansible_port: 5986
ansible_user: ‘(REDACTED)’
ansible_password: !vault |
$ANSIBLE_VAULT;1.1;(REDACTED)

Thanks!

5 posts - 4 participants