mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
3221b25393
* 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
|
||
---|---|---|
.. | ||
__init__.py | ||
cartesian.py | ||
chef_databag.py | ||
consul_kv.py | ||
credstash.py | ||
cyberarkpassword.py | ||
dig.py | ||
dnstxt.py | ||
dsv.py | ||
etcd.py | ||
etcd3.py | ||
filetree.py | ||
flattened.py | ||
gcp_storage_file.py | ||
hashi_vault.py | ||
hiera.py | ||
keyring.py | ||
lastpass.py | ||
lmdb_kv.py | ||
manifold.py | ||
nios.py | ||
nios_next_ip.py | ||
nios_next_network.py | ||
onepassword.py | ||
onepassword_raw.py | ||
passwordstore.py | ||
redis.py | ||
shelvefile.py | ||
tss.py |