mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
clarified with_file
This commit is contained in:
@@ -96,7 +96,7 @@ And you want to print every user's name and phone number. You can loop through
|
||||
Looping over Files
|
||||
``````````````````
|
||||
|
||||
``with_file`` iterates over a list of files, setting `item` to the content of each file in sequence. It can be used like this::
|
||||
``with_file`` iterates over the content of a list of files, `item` will be set to the content of each file in sequence. It can be used like this::
|
||||
|
||||
---
|
||||
- hosts: all
|
||||
|
||||
Reference in New Issue
Block a user