community.general
community.general copied to clipboard
[WIP] add bitwarden lookup
SUMMARY
Adds a new plugin to lookup for bitwarden objects. Similar to the onepassword or lastpass lookups.
ISSUE TYPE
- New Module Pull Request
COMPONENT NAME
community.general.bitwarden
ADDITIONAL INFORMATION
- name: Retrieve whole item for CASTLE
ansible.builtin.debug:
var: lookup('community.general.bitwarden', 'CASTLE')
https://bitwarden.com/help/cli/ https://github.com/bitwarden/cli/
The test botmeta
failed with 2 errors:
.github/BOTMETA.yml:0:0: Author rockaut not mentioned as active or inactive maintainer for plugins/lookup/bitwarden.py (mentioned are: )
.github/BOTMETA.yml:0:0: No (active or inactive) maintainer mentioned for plugins/lookup/bitwarden.py
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of 4 (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of 4
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of four (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of four
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of 4 (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of 4
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of 4
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of four (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of four
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of four (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of four
The test ansible-test sanity --test pep8
[explain] failed with 12 errors:
plugins/lookup/bitwarden.py:68:1: E302: expected 2 blank lines, found 1
plugins/lookup/bitwarden.py:69:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:71:3: E114: indentation is not a multiple of four (comment)
plugins/lookup/bitwarden.py:72:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:73:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:74:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:76:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:77:3: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:95:11: E121: continuation line under-indented for hanging indent
plugins/lookup/bitwarden.py:124:11: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:125:15: E111: indentation is not a multiple of four
plugins/lookup/bitwarden.py:126:15: E111: indentation is not a multiple of four
cc @lungj click here for bot help
@rockaut Maybe #5012 does what you want :)
Any update on this one?
needs_info
Crap... I totally forgot about this. I will close it and redo it. Sorry for the inconvenience.
Closing as I forgot about it. I hope I can redo it for new versions.
Docs Build 📝
This PR is closed and any previously published docsite has been unpublished.
No problem, such things happen :)