Commit graph

9 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 a853a212ab Updated README to reflect recent changes
This updates the README to include instructions about installation
with `ansible-galaxy`, and adds several new examples.
2018-10-19 16:42:57 -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
Matt Stofko 09cf4b493a Minor text fixes 2018-07-05 18:07:58 -07:00
Matt Stofko f9de4e2d42 Initial commit 2018-07-05 18:03:25 -07:00
Matt Stofko a9b91ea245 Lookup plugin info and usage 2018-07-05 18:03:11 -07:00
Matt Stofko 28aba59ca7 Remove lib entries 2018-07-05 18:02:55 -07:00
Matt Stofko 27571280c1
Initial commit 2018-07-05 17:13:22 -07:00