mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user