Update tss.py - multiline for an example (#1639)
* Update tss.py - multiline for an example Extended line runs past the side of the browser window * Moved multiline to after the msg. Cannot believe I missed that again. * Updated tss.py Using > as multiline joiner with spacespull/1648/head
parent
74174f11ff
commit
7d20ff7cac
|
@ -75,7 +75,11 @@ EXAMPLES = r"""
|
||||||
vars:
|
vars:
|
||||||
secret: "{{ lookup('community.general.tss', 1) }}"
|
secret: "{{ lookup('community.general.tss', 1) }}"
|
||||||
tasks:
|
tasks:
|
||||||
- ansible.builtin.debug: msg="the password is {{ (secret['items'] | items2dict(key_name='slug', value_name='itemValue'))['password'] }}"
|
- ansible.builtin.debug:
|
||||||
|
msg: >
|
||||||
|
the password is {{(secret['items']
|
||||||
|
| items2dict(key_name='slug',
|
||||||
|
value_name='itemValue'))['password']}}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.errors import AnsibleError, AnsibleOptionsError
|
from ansible.errors import AnsibleError, AnsibleOptionsError
|
||||||
|
|
Loading…
Reference in New Issue