mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Added umask option to passwordstore lookup plugin. (#1156)
* Added umask option to passwordstore lookup plugin. * Added umask documentation and changelog fragment. * Added default values to paramvals within the run method. * removed blank lines (PEP8) * Update changelogs/fragments/lookup-passwordstore-umask.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/lookup/passwordstore.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/lookup-passwordstore-umask.yml Co-authored-by: Felix Fontein <felix@fontein.de> * passwordstore lookup plugin: changelog fragment update * passing environment variables to subprocess.Popen() * Update plugins/lookup/passwordstore.py Co-authored-by: Felix Fontein <felix@fontein.de> * rm trailing whitespace * Don't force default umask in the plugin, pass will take care of this. * remove default from the documentation string * remove trailing whitespaces * prevent KeyErrors when checking if key exits in paramvals. * Update plugins/lookup/passwordstore.py Co-authored-by: Felix Fontein <felix@fontein.de> * Fix for TypeError * revert back to old directory test Co-authored-by: bratw0rst <c.chmiel@speakup.nl> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
c52839c601
commit
28ac4b79e2
2 changed files with 28 additions and 4 deletions
5
changelogs/fragments/lookup-passwordstore-umask.yml
Normal file
5
changelogs/fragments/lookup-passwordstore-umask.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
minor_changes:
|
||||
- passwordstore lookup plugin - added ``umask`` option to set the desired file permisions on creation. This is
|
||||
done via the ``PASSWORD_STORE_UMASK`` environment variable
|
||||
(https://github.com/ansible-collections/community.general/pull/1156).
|
Loading…
Add table
Add a link
Reference in a new issue