From 0372fdf15086d777494a97a7dc0bbb03f0bd0234 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Mon, 4 Jul 2022 20:59:28 +0200 Subject: [PATCH] Do not ignore tld option in DSV lookup plugin (#4911) (#4920) * 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 (cherry picked from commit 7ffa2b525cacd3eed2acfc9e94d1b6ee8d604ce1) Co-authored-by: andrii-zakurenyi <85106843+andrii-zakurenyi@users.noreply.github.com> --- 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"), } )