diff --git a/lib/ansible/modules/network/f5/bigip_file_copy.py b/lib/ansible/modules/network/f5/bigip_file_copy.py index 374c73a3c08..28599a527ee 100644 --- a/lib/ansible/modules/network/f5/bigip_file_copy.py +++ b/lib/ansible/modules/network/f5/bigip_file_copy.py @@ -95,11 +95,12 @@ EXAMPLES = r''' find: paths: /var/tmp/project patterns: "^.*?\\.(?:html|?:css|?:js)$" + use_regex: yes register: f - name: Upload a directory of files as a set of iFiles bigip_file_copy: - source: "{{ f.path }}" + source: "{{ item.path }}" datastore: ifile provider: password: secret