diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index d96b91f2f70..c01a13da6ff 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -145,7 +145,7 @@ EXAMPLES = r''' src: '/tmp/{{ item.src }}' dest: '{{ item.dest }}' state: hard - with_items: + loop: - { src: x, dest: y } - { src: z, dest: k }