updated s3 module documentation

reviewable/pr18780/r1
Matt Ferrante 9 years ago
parent 47877e157f
commit 2c75e72e83

@ -114,7 +114,7 @@ options:
version_added: "2.0" version_added: "2.0"
overwrite: overwrite:
description: description:
- Force overwrite either locally on the filesystem or remotely with the object/key. Used with PUT and GET operations. - Force overwrite either locally on the filesystem or remotely with the object/key. Used with PUT and GET operations. Boolean or one of [Always, Never, Different], new in 2.0
required: false required: false
default: true default: true
version_added: "1.2" version_added: "1.2"
@ -180,7 +180,7 @@ EXAMPLES = '''
# Delete a bucket and all contents # Delete a bucket and all contents
- s3: bucket=mybucket mode=delete - s3: bucket=mybucket mode=delete
# GET an object but dont download if the file checksums match # GET an object but dont download if the file checksums match. New in 2.0
- s3: bucket=mybucket object=/my/desired/key.txt dest=/usr/local/myfile.txt mode=get overwrite=different - s3: bucket=mybucket object=/my/desired/key.txt dest=/usr/local/myfile.txt mode=get overwrite=different
# Delete an object from a bucket # Delete an object from a bucket

Loading…
Cancel
Save