From 337682b6a06a8008bf3fd283e9659f04c3e154ab Mon Sep 17 00:00:00 2001 From: Nick Budidharma Date: Wed, 23 Apr 2014 17:52:32 -0400 Subject: [PATCH] Add note about with_fileglob to "Looping over Fileglobs" Reference #7102 --- docsite/rst/playbooks_loops.rst | 2 ++ 1 file changed, 2 insertions(+) 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 ``````````````````````````````````