Add option missing to passwordstore lookup (#2500)

Add ability to ignore error on missing pass file to allow processing the
output further via another filters (mainly the default filter) without
updating the pass file itself.

It also contains the option to create the pass file, like the option
create=true does.

Finally, it also allows to issue a warning only, if the pass file is not
found.
This commit is contained in:
Jan Baier 2021-05-17 13:50:40 +02:00 committed by GitHub
commit 350380ba8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 85 additions and 5 deletions

View file

@ -0,0 +1,3 @@
minor_changes:
- passwordstore lookup - add option ``missing`` to choose what to do if the password file is missing
(https://github.com/ansible-collections/community.general/pull/2500).