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