mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Update playbooks_loops.rst
This commit is contained in:
parent
0ee46cb0df
commit
505dd9fe44
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ Given the mysql hosts and privs subkey lists, you can also iterate over a list i
|
||||||
priv: "{{ item.0.mysql.privs | join('/') }}"
|
priv: "{{ item.0.mysql.privs | join('/') }}"
|
||||||
with_subelements:
|
with_subelements:
|
||||||
- "{{ users }}"
|
- "{{ users }}"
|
||||||
- "{{ mysql.hosts }}"
|
- mysql.hosts
|
||||||
|
|
||||||
Subelements walks a list of hashes (aka dictionaries) and then traverses a list with a given (nested sub-)key inside of those
|
Subelements walks a list of hashes (aka dictionaries) and then traverses a list with a given (nested sub-)key inside of those
|
||||||
records.
|
records.
|
||||||
|
|
Loading…
Reference in a new issue