mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix subelements example correctly (#46482)
This commit is contained in:
parent
ae363da5f5
commit
92037679c4
1 changed files with 22 additions and 20 deletions
|
@ -302,43 +302,45 @@ Produces a product of an object, and subelement values of that object, similar t
|
||||||
Which turns::
|
Which turns::
|
||||||
|
|
||||||
users:
|
users:
|
||||||
- name: alice
|
- name: alice
|
||||||
authorized:
|
authorized:
|
||||||
- /tmp/alice/onekey.pub
|
- /tmp/alice/onekey.pub
|
||||||
- /tmp/alice/twokey.pub
|
- /tmp/alice/twokey.pub
|
||||||
groups:
|
groups:
|
||||||
- wheel
|
- wheel
|
||||||
- docker
|
- docker
|
||||||
- name: bob
|
- name: bob
|
||||||
authorized:
|
authorized:
|
||||||
- /tmp/bob/id_rsa.pub
|
- /tmp/bob/id_rsa.pub
|
||||||
groups:
|
groups:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
Into::
|
Into::
|
||||||
|
|
||||||
-
|
-
|
||||||
- name: alice
|
- name: alice
|
||||||
groups:
|
groups:
|
||||||
- wheel
|
- wheel
|
||||||
- docker
|
- docker
|
||||||
authorized:
|
authorized:
|
||||||
- /tmp/alice/onekey.pub
|
- /tmp/alice/onekey.pub
|
||||||
|
- /tmp/alice/twokey.pub
|
||||||
- wheel
|
- wheel
|
||||||
-
|
-
|
||||||
- name: alice
|
- name: alice
|
||||||
groups:
|
groups:
|
||||||
- wheel
|
- wheel
|
||||||
- docker
|
- docker
|
||||||
authorized:
|
authorized:
|
||||||
- /tmp/alice/twokey.pub
|
- /tmp/alice/onekey.pub
|
||||||
|
- /tmp/alice/twokey.pub
|
||||||
- docker
|
- docker
|
||||||
-
|
-
|
||||||
- name: bob
|
- name: bob
|
||||||
authorized:
|
authorized:
|
||||||
- /tmp/bob/id_rsa.pub
|
- /tmp/bob/id_rsa.pub
|
||||||
groups:
|
groups:
|
||||||
- docker
|
- docker
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
An example of using this filter with ``loop``::
|
An example of using this filter with ``loop``::
|
||||||
|
|
Loading…
Reference in a new issue