mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Improve readability of example. (#1648)
This commit is contained in:
parent
7d20ff7cac
commit
25e246bdc2
1 changed files with 5 additions and 3 deletions
|
@ -77,9 +77,11 @@ EXAMPLES = r"""
|
||||||
tasks:
|
tasks:
|
||||||
- ansible.builtin.debug:
|
- ansible.builtin.debug:
|
||||||
msg: >
|
msg: >
|
||||||
the password is {{(secret['items']
|
the password is {{
|
||||||
|
(secret['items']
|
||||||
| items2dict(key_name='slug',
|
| items2dict(key_name='slug',
|
||||||
value_name='itemValue'))['password']}}
|
value_name='itemValue'))['password']
|
||||||
|
}}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ansible.errors import AnsibleError, AnsibleOptionsError
|
from ansible.errors import AnsibleError, AnsibleOptionsError
|
||||||
|
|
Loading…
Reference in a new issue