Improve readability of example. (#1648)
parent
7d20ff7cac
commit
25e246bdc2
|
@ -77,9 +77,11 @@ EXAMPLES = r"""
|
||||||
tasks:
|
tasks:
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
msg: >
|
msg: >
|
||||||
the password is {{(secret['items']
|
the password is {{
|
||||||
| items2dict(key_name='slug',
|
(secret['items']
|
||||||
value_name='itemValue'))['password']}}
|
| 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