diff --git a/changelogs/fragments/dsv_fix.yml b/changelogs/fragments/dsv_fix.yml new file mode 100644 index 0000000000..fedc90ba5b --- /dev/null +++ b/changelogs/fragments/dsv_fix.yml @@ -0,0 +1,2 @@ +bugfixes: +- dsv lookup - use correct dict usage (https://github.com/ansible-collections/community.general/pull/743). diff --git a/plugins/lookup/dsv.py b/plugins/lookup/dsv.py index 8126928dd1..286cb0dbd0 100644 --- a/plugins/lookup/dsv.py +++ b/plugins/lookup/dsv.py @@ -112,7 +112,7 @@ class LookupModule(LookupBase): self.set_options(var_options=variables, direct=kwargs) vault = LookupModule.Client( - **{ + { "tenant": self.get_option("tenant"), "client_id": self.get_option("client_id"), "client_secret": self.get_option("client_secret"),