Skip to content

Commit

Permalink
onepassword_raw - Add missing parameter to doc string (#5511)
Browse files Browse the repository at this point in the history
* onepassword_raw - Add missing parameter to doc string

* Remove redundant mention of default value

* Update changelogs/fragments/5506-onepassword_raw-missing-param.yml

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit c604cc5)
  • Loading branch information
samdoran authored and patchback[bot] committed Nov 9, 2022
1 parent c6d0419 commit e7ad431
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/5506-onepassword_raw-missing-param.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- onepassword_raw - add missing parameter to plugin documentation (https://github.com/ansible-collections/community.general/issues/5506).
2 changes: 1 addition & 1 deletion plugins/lookup/onepassword.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
section:
description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section.
domain:
description: Domain of 1Password. Default is U(1password.com).
description: Domain of 1Password.
version_added: 3.2.0
default: '1password.com'
type: str
Expand Down
5 changes: 5 additions & 0 deletions plugins/lookup/onepassword_raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
description: Item section containing the field to retrieve (case-insensitive). If absent will return first match from any section.
subdomain:
description: The 1Password subdomain to authenticate against.
domain:
description: Domain of 1Password.
version_added: 6.0.0
default: '1password.com'
type: str
username:
description: The username used to sign in.
secret_key:
Expand Down

0 comments on commit e7ad431

Please sign in to comment.