community.general/lib/ansible/plugins
Marc Abramowitz e2e4a69425 hashi_vault: Get token from env var or file
This allows getting the Vault token from the `VAULT_TOKEN` env var or
from the file `$HOME/.vault-token`, as both of these are understood by
the Vault CLI and are a common place to put Vault tokens. This allows
avoiding hard-coding a Vault token into playbooks or having to include
lookups.

`HOME/.vault-token` is nice because a user can authenticate with the CLI
using `vault auth` and then the token will be stored in
`$HOME/.vault-token`. If we read this file, then we allow someone to do
`vault auth` "out of band" to set up Vault access.
2017-02-20 10:10:22 -05:00
..
action service: deprecate state=running (#21499) 2017-02-20 09:34:52 -05:00
cache bad/missing fact plugin is a warning (#19350) 2016-12-14 14:25:19 -05:00
callback Remove the end of the task_data.path which causes #21461 2017-02-15 17:35:16 -08:00
connection roll up of eos fixes (#21629) 2017-02-19 08:46:14 -05:00
filter Fix hash filter for non-ascii strings and Python3 2017-02-15 10:50:10 -08:00
lookup hashi_vault: Get token from env var or file 2017-02-20 10:10:22 -05:00
shell Complete rewrite of Windows exec wrapper (#21510) 2017-02-17 00:09:56 -08:00
strategy Relocate creation of Templar in process_pending_results 2017-02-17 00:26:09 -06:00
terminal clean up of terminal plugins (#21549) 2017-02-17 10:00:23 -05:00
test restored 'results' filters 2016-10-13 13:21:40 -04:00
vars Making the switch to v2 2015-05-03 21:47:26 -05:00
__init__.py Switch from using inspect to globals() 2017-02-17 12:57:26 -08:00