Update docs (playbooks_loops.rst, playbooks_filters.rst)

pull/12444/head
knakayama 9 years ago
parent b11a44e5b4
commit f717f14fe9

@ -181,7 +181,7 @@ It might happen like so::
Given the mysql hosts and privs subkey lists, you can also iterate over a list in a nested subkey::
- name: Setup MySQL users
mysql_user: name={{ item.0.user }} password={{ item.0.mysql.password }} host={{ item.1 }} priv={{ item.0.mysql.privs | join('/') }}
mysql_user: name={{ item.0.name }} password={{ item.0.mysql.password }} host={{ item.1 }} priv={{ item.0.mysql.privs | join('/') }}
with_subelements:
- users
- mysql.hosts

Loading…
Cancel
Save