Update playbooks_loops.rst

pull/26046/merge
Chiyu Zhong 7 years ago committed by Brian Coca
parent 0ee46cb0df
commit 505dd9fe44

@ -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('/') }}"
with_subelements:
- "{{ 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
records.

Loading…
Cancel
Save