diff --git a/lib/ansible/modules/cloud/vmware/vsphere_file.py b/lib/ansible/modules/cloud/vmware/vsphere_file.py index a627d808143..942b6daa70f 100644 --- a/lib/ansible/modules/cloud/vmware/vsphere_file.py +++ b/lib/ansible/modules/cloud/vmware/vsphere_file.py @@ -91,7 +91,7 @@ EXAMPLES = r''' delegate_to: localhost - name: Create a directory on a datastore - vsphere_copy: + vsphere_file: host: '{{ vhost }}' username: '{{ vuser }}' password: '{{ vpass }}' @@ -115,7 +115,7 @@ EXAMPLES = r''' ignore_errors: yes - name: Delete a file on a datastore - vsphere_copy: + vsphere_file: host: '{{ vhost }}' username: '{{ vuser }}' password: '{{ vpass }}'