mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-27 22:49:14 +00:00
Passwordstore lookup: make directory an INI option (#12298)
* Passwordstore lookup: make `directory` an INI option The passwordstore lookup plugin defaults to using the password store tree under ~/.password-store. Being able to configure the directory used for the whole Ansible project helps to use project-specific credentials directory. As `get_option` was already used for this option, this does not require any change in the code itself. * Add related changelog * Update changelogs/fragments/12298-passwordstore-directory-as-ini-option.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
b669a6e237
commit
6c7eda4a7b
2 changed files with 7 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
minor_changes:
|
||||
- "passwordstore lookup plugin - make ``directory`` configurable through ``ansible.cfg`` (https://github.com/ansible-collections/community.general/pull/12298)."
|
||||
|
|
@ -25,6 +25,10 @@ options:
|
|||
- If O(backend=gopass), then the default is the C(path) field in C(~/.config/gopass/config.yml), falling back to V(~/.local/share/gopass/stores/root)
|
||||
if C(path) is not defined in the gopass config.
|
||||
type: path
|
||||
ini:
|
||||
- section: passwordstore_lookup
|
||||
key: directory
|
||||
version_added: 13.2.0
|
||||
vars:
|
||||
- name: passwordstore
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue