sadv1r / ansible-vault-editor-idea-plugin

Ansible Vault Editor IntelliJ Plugin with auto encryption/decryption
https://plugins.jetbrains.com/plugin/14278-ansible-vault-editor
MIT License
37 stars 5 forks source link

ANSIBLE_VAULT_PASSWORD_FILE as text file in Windows OS #182

Closed mordekasg closed 1 year ago

mordekasg commented 1 year ago

PR will allow to use ANSIBLE_VAULT_PASSWORD_FILE env variable pointing to text file on Windows OS.

Right now, plugin checks for file execution permission using: file.canExecute(), which won`t work on Windows. Additional try...catch statement is solving that problem.

Tested on W10.

sadv1r commented 1 year ago

Thank you for the fix!🥳