community.general/plugins
patchback[bot] 3221b25393
fix passwordstore.py to be compatible with gopass. (#1589) (#1674)
* fix passwordstore.py to be compatible with gopass.

...even when used with create=true.

The same output snippet matches for both, `pass` and `gopass`, but while `pass` returns `1` on a non-existant password, `gopass` returns `10`, or `11`, depending on whether a similar named password was stored.

So I'd propose to change `e.returncode == 1` to `e.returncode != 0` to cover both cases here.

What do you think?

* Update passwordstore.py, fix typo

* Add changelog fragment.

* Update changelogs/fragments/1589-passwordstore-fix-passwordstore.py-to-be-compatible-with-gopass.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update changelogs/fragments/1589-passwordstore-fix-passwordstore.py-to-be-compatible-with-gopass.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 73b3ec09e5)

Co-authored-by: Paul Haerle <hello@phaer.org>
2021-01-25 12:59:22 +01:00
..
action iptables_state: fix race condition between module and its action plugin (#1140) (#1143) 2020-10-20 22:46:12 +02:00
become Fix various sanity errors in plugins (#881) (#893) 2020-09-17 16:39:57 +00:00
cache Fix the linode inventory plugin, and the redis and memcached cache plugins (#1281, #1282, #1283). 2020-11-13 22:06:41 +01:00
callback YAML callback: do not remove non-ASCII Unicode from multi-line string output (#1522) (#1529) 2020-12-22 09:59:57 +00:00
connection saltstack: fix put_file to preserve checksum (#1472) (#1514) 2020-12-19 18:55:57 +00:00
doc_fragments Tidy up validate-modules:doc-required-mismatch (#1415) (#1417) 2020-11-28 15:41:36 +01:00
filter json_query: Handle AnsibleUnicode, AnsibleUnsafeText (#1434) (#1443) 2020-12-04 08:06:09 +01:00
inventory Scaleway: Update documentation (#1567) (#1568) 2021-01-01 13:44:09 +01:00
lookup fix passwordstore.py to be compatible with gopass. (#1589) (#1674) 2021-01-25 12:59:22 +01:00
module_utils nios_member: fix nios api member_normalize error with python 3 (#1527) (#1534) 2020-12-23 08:49:29 +01:00
modules lldp - use get_bin_path to locate the lldpctl executable (#1643) (#1663) 2021-01-23 12:15:33 +01:00