|
|
|
@ -70,9 +70,23 @@ notes:
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
EXAMPLES = '''
|
|
|
|
|
- vsphere_copy: host=vhost login=vuser password=vpass src=/some/local/file datacenter='DC1 Someplace' datastore=datastore1 path=some/remote/file
|
|
|
|
|
- vsphere_copy:
|
|
|
|
|
host: vhost
|
|
|
|
|
login: vuser
|
|
|
|
|
password: vpass
|
|
|
|
|
src: /some/local/file
|
|
|
|
|
datacenter: DC1 Someplace
|
|
|
|
|
datastore: datastore1
|
|
|
|
|
path: some/remote/file
|
|
|
|
|
transport: local
|
|
|
|
|
- vsphere_copy: host=vhost login=vuser password=vpass src=/other/local/file datacenter='DC2 Someplace' datastore=datastore2 path=other/remote/file
|
|
|
|
|
- vsphere_copy:
|
|
|
|
|
host: vhost
|
|
|
|
|
login: vuser
|
|
|
|
|
password: vpass
|
|
|
|
|
src: /other/local/file
|
|
|
|
|
datacenter: DC2 Someplace
|
|
|
|
|
datastore: datastore2
|
|
|
|
|
path: other/remote/file
|
|
|
|
|
delegate_to: other_system
|
|
|
|
|
'''
|
|
|
|
|
|
|
|
|
|