nvim-ansible icon indicating copy to clipboard operation
nvim-ansible copied to clipboard

add ANSIBLE_COLLECTIONS_PATH to execution command

Open kksat opened this issue 2 years ago • 0 comments

I am developing ansible collections and this plugin is great for that with one small feature missing. ANSIBLE_COLLECTIONS_PATH is not set to current working directory (or project root) so collection under development is not detected and during execution changed content is not used by ansible.

Are you open to add environment variable ANSIBLE_COLLECTIONS_PATH to execution command?

See example in https://github.com/kksat/nvim-ansible/tree/ansible_collections_path This is not complete code, just some ideas.

kksat avatar Feb 19 '24 18:02 kksat