Add option missing to passwordstore lookup (#2500) (#2541)

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.

(cherry picked from commit 350380ba8c)

Co-authored-by: Jan Baier <7996094+baierjan@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2021-05-17 14:14:44 +02:00 committed by GitHub
commit 38aa0ec8ad
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).