nested vars
This commit is contained in:
parent
5f6c6cd213
commit
28b2f04828
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: Add users
|
- name: Add users
|
||||||
user:
|
user:
|
||||||
name: "{{ username }}"
|
name: "{{ item.username }}"
|
||||||
password: "{{ password }}"
|
password: "{{ item.password }}"
|
||||||
shell: /bin/zsh
|
shell: /bin/zsh
|
||||||
with_items: "{{ users }}"
|
with_items: "{{ users }}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user