From 25e246bdc20341f5d77c20d521d2a704f07adb3a Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 19 Jan 2021 08:24:25 +0100 Subject: [PATCH] Improve readability of example. (#1648) --- 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 9e3688c25a..f24d79373a 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