mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 spaces
This commit is contained in:
parent
f8237ce76d
commit
199e53112c
1 changed files with 5 additions and 1 deletions
|
@ -75,7 +75,11 @@ EXAMPLES = r"""
|
|||
vars:
|
||||
secret: "{{ lookup('community.general.tss', 1) }}"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue