Hi,
Is it possible to use environment variables, or user defined variables in the filters or jinja templates in the inventory plugin. If yes, please could you provide an example.
Thank you
Hi,
Is it possible to use environment variables, or user defined variables in the filters or jinja templates in the inventory plugin. If yes, please could you provide an example.
Thank you
Hello @ajprok. Welcome to the Ansible Forum!
It seems that the community.digitalocean.digitalocean
inventory plugin is only available for templates for the oauth_token
option.
oauth_token: '{{ lookup("pipe", "./get-do-token.sh") }}'
Thank you for the info. I hope the feature can be added to make the inventory more dynamic.
If you raise an issue as Feature request, someone possibly improve inventory plugin.