Commit graph

14 commits

Author SHA1 Message Date
snow flurry 3e7babfdf3 Various fixes 2021-10-29 23:22:14 -07:00
Lars Kellogg-Stedman 9b83a4a2c3
Merge pull request #2 from zarath/bugfix/correct_indent
Yaml indentation fixed
2019-11-19 12:20:33 -05:00
Holger Mueller 94ee0b0163 Yaml indentation fixed
custom_field and sync ke:ys weren't correctly indented for current
ansible versions
2019-11-18 17:05:38 +01:00
Lars Kellogg-Stedman c56f7b5f1b teach bitwarden lookup how to sync
set sync=true in the lookup call to call `bw sync` before looking up
data
2018-10-19 22:28:43 -04:00
Lars Kellogg-Stedman e5dd4eae60 make flake8 happy 2018-10-19 21:32:58 -04:00
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