1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add note about with_fileglob to "Looping over Fileglobs"

Reference #7102
This commit is contained in:
Nick Budidharma 2014-04-23 17:52:32 -04:00
parent 16874464e9
commit 337682b6a0

View file

@ -109,6 +109,8 @@ be used like this::
- copy: src={{ item }} dest=/etc/fooapp/ owner=root mode=600 - copy: src={{ item }} dest=/etc/fooapp/ owner=root mode=600
with_fileglob: with_fileglob:
- /playbooks/files/fooapp/* - /playbooks/files/fooapp/*
.. note:: When using a relative path with ``with_fileglob`` in a role, Ansible resolves the path relative to the `roles/<rolename>/files` directory.
Looping over Parallel Sets of Data Looping over Parallel Sets of Data
`````````````````````````````````` ``````````````````````````````````