mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
hashi_vault: Handle equal sign in secret name value (#537)
Fixes: ansible/ansible#55658 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
9e28f3cceb
commit
67ae100cee
4 changed files with 14 additions and 4 deletions
|
@ -444,7 +444,7 @@ class LookupModule(LookupBase):
|
|||
|
||||
for i, param in enumerate(term.split()):
|
||||
try:
|
||||
key, value = param.split('=')
|
||||
key, value = param.split('=', 1)
|
||||
except ValueError:
|
||||
if (i == 0):
|
||||
# allow secret to be specified as value only if it's first
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue