1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-03 08:52:55 +00:00
community.general/changelogs/fragments
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
..
.keep Rename changelogs/fragments/.empty -> changelogs/fragments/.keep 2020-08-07 08:18:40 +02:00
1589-passwordstore-fix-passwordstore.py-to-be-compatible-with-gopass.yaml fix passwordstore.py to be compatible with gopass. (#1589) (#1674) 2021-01-25 12:59:22 +01:00
1610-bugfix-onepassword-lookup-plugin.yaml onepassword: find the password field out of the fields list (#1610) (#1651) 2021-01-20 23:12:41 +01:00
1632-using_check_rc_in_terraform.yml Fixing return code not showing the command that fails in terraform. (#1632) (#1662) 2021-01-23 12:15:17 +01:00
lldp-use-get_bin_path-to-locate-the-lldpctl-executable.yaml lldp - use get_bin_path to locate the lldpctl executable (#1643) (#1663) 2021-01-23 12:15:33 +01:00