Commit graph

3 commits

Author SHA1 Message Date
Lars Kellogg-Stedman 250d5b26cc decode response from bw
Running under python 3, the response from running the `bw` command is a
byte string, so the lookup was returning to ansible values of the form
`b'somestring'`. It is necessary to decode these results.
2018-10-19 21:30:56 -04:00
Lars Kellogg-Stedman 87616af387 teach bitwarden lookup about custom fields
This makes it easier to look up the values of custom fields in a
Bitwarden entry. If the `custom_field` named parameter is true, search
for the named `field` in the list of custom fields rather than the
top-level dictionary.
2018-10-19 21:17:00 -04:00
Lars Kellogg-Stedman e6edf87208 Reorganize as an installable ansible role
With this commit, the bitwarden lookup module can be installed by running
`ansible-galaxy install git+https://github.com/c0sco/ansible-modules-bitwarden`.
2018-10-19 16:14:41 -04:00