mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07: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
|
||||
debug:
|
||||
msg: "User {{ item.key }} is {{ item.value.name }} ({{ item.value.telephone }})"
|
||||
with_dict:
|
||||
- "{{ users }}"
|
||||
with_dict: "{{ users }}"
|
||||
|
||||
.. _looping_over_fileglobs:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue