From 7ffa2b525cacd3eed2acfc9e94d1b6ee8d604ce1 Mon Sep 17 00:00:00 2001 From: andrii-zakurenyi <85106843+andrii-zakurenyi@users.noreply.github.com> Date: Mon, 4 Jul 2022 21:25:34 +0300 Subject: [PATCH] Do not ignore tld option in DSV lookup plugin (#4911) * Do not ignore tld option in DSV lookup plugin * add changelog fragment * Update changelogs/fragments/4911-dsv-honor-tld-option.yml Co-authored-by: Felix Fontein Co-authored-by: Felix Fontein --- changelogs/fragments/4911-dsv-honor-tld-option.yml | 3 +++ plugins/lookup/dsv.py | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelogs/fragments/4911-dsv-honor-tld-option.yml diff --git a/changelogs/fragments/4911-dsv-honor-tld-option.yml b/changelogs/fragments/4911-dsv-honor-tld-option.yml new file mode 100644 index 0000000000..f4b8d7070e --- /dev/null +++ b/changelogs/fragments/4911-dsv-honor-tld-option.yml @@ -0,0 +1,3 @@ +--- +bugfixes: + - dsv lookup plugin - do not ignore the ``tld`` parameter (https://github.com/ansible-collections/community.general/pull/4911). \ No newline at end of file diff --git a/plugins/lookup/dsv.py b/plugins/lookup/dsv.py index 1cd9041a2e..829ba4582b 100644 --- a/plugins/lookup/dsv.py +++ b/plugins/lookup/dsv.py @@ -122,6 +122,7 @@ class LookupModule(LookupBase): "tenant": self.get_option("tenant"), "client_id": self.get_option("client_id"), "client_secret": self.get_option("client_secret"), + "tld": self.get_option("tld"), "url_template": self.get_option("url_template"), } )