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:
parent
16874464e9
commit
337682b6a0
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
``````````````````````````````````
|
``````````````````````````````````
|
||||||
|
|
Loading…
Reference in a new issue