nested vars

This commit is contained in:
Bertrand Benjamin 2018-08-22 21:18:18 +02:00
parent 5f6c6cd213
commit 28b2f04828
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
---
- name: Add users
user:
name: "{{ username }}"
password: "{{ password }}"
name: "{{ item.username }}"
password: "{{ item.password }}"
shell: /bin/zsh
with_items: "{{ users }}"