From 7fac03ec56e18cecf52a12da1cd8dbfc345c63ff Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 19 Jan 2021 08:05:57 +0000 Subject: [PATCH] Improve readability of example. (#1648) (#1649) (cherry picked from commit 25e246bdc20341f5d77c20d521d2a704f07adb3a) Co-authored-by: Felix Fontein --- plugins/lookup/tss.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/lookup/tss.py b/plugins/lookup/tss.py index 3907683467..32c0460c8c 100644 --- a/plugins/lookup/tss.py +++ b/plugins/lookup/tss.py @@ -77,9 +77,11 @@ EXAMPLES = r""" tasks: - ansible.builtin.debug: msg: > - the password is {{(secret['items'] - | items2dict(key_name='slug', - value_name='itemValue'))['password']}} + the password is {{ + (secret['items'] + | items2dict(key_name='slug', + value_name='itemValue'))['password'] + }} """ from ansible.errors import AnsibleError, AnsibleOptionsError