mirror of
https://github.com/janLo/ansible_lookup_plugins
synced 2026-06-19 19:48:01 +00:00
@@ -0,0 +1,13 @@
|
|||||||
|
Collection of custom ansible lookup modules
|
||||||
|
===========================================
|
||||||
|
|
||||||
|
## `pass` Module
|
||||||
|
|
||||||
|
This is a module to lookup a [pass](http://www.passwordstore.org/) password store located at `./credentials` from the toplevel playbook directory. It is a slightly modified [pipe](https://github.com/ansible/ansible/blob/stable-1.9/lib/ansible/runner/lookup_plugins/pipe.py) plugin.
|
||||||
|
|
||||||
|
It takes a password path within the pass storage as argument:
|
||||||
|
|
||||||
|
- name: test pass lookup
|
||||||
|
debug: msg={{ lookup('pass', 'pas/to/password') }}
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user