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