mirror of
https://github.com/famedly/ansible-collection-base
synced 2024-11-10 06:24:17 +00:00
fix(gpg_secretstore): prevent secret caching
Setting the fact inside the module itself lead to secrets being cached in plain text on the ansible controller. Apparently, there is no way to non-persistently cache facts without using the builtin set_fact action. See https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/strategy/__init__.py#L708 Added a warning about using the feature and reverted to the set_fact action plugin.
This commit is contained in:
parent
c54ac98e2d
commit
034370e626
1 changed files with 2 additions and 1 deletions
|
@ -88,7 +88,8 @@ options:
|
|||
default: 'plain'
|
||||
secret_fact:
|
||||
description:
|
||||
- If `secret_fact` is set and `state` is `present`, the module will set the secret return value under the contained key as an ansible fact
|
||||
- If `secret_fact` is set and `state` is `present`, the module will set the secret return value under the contained key as an ansible fact.
|
||||
- WARNING: If you have a persistent cache configured, the secret will be cached in plain text.
|
||||
required: False
|
||||
type: str
|
||||
overwrite:
|
||||
|
|
Loading…
Reference in a new issue