mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
67dc8c146e
commit
001be55ef0
1 changed files with 1 additions and 2 deletions
|
@ -112,8 +112,7 @@ And you want to print every user's name and phone number. You can loop through
|
||||||
- name: Print phone records
|
- name: Print phone records
|
||||||
debug:
|
debug:
|
||||||
msg: "User {{ item.key }} is {{ item.value.name }} ({{ item.value.telephone }})"
|
msg: "User {{ item.key }} is {{ item.value.name }} ({{ item.value.telephone }})"
|
||||||
with_dict:
|
with_dict: "{{ users }}"
|
||||||
- "{{ users }}"
|
|
||||||
|
|
||||||
.. _looping_over_fileglobs:
|
.. _looping_over_fileglobs:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue