updated s3 docs to reflect mode choices

fixes #2318
This commit is contained in:
Brian Coca 2016-01-15 00:43:54 -05:00
parent 4f6c906783
commit 1a298f7948

View file

@ -84,10 +84,9 @@ options:
version_added: "1.6" version_added: "1.6"
mode: mode:
description: description:
- Switches the module behaviour between put (upload), get (download), geturl (return download url (Ansible 1.3+), getstr (download object as string (1.3+)), list (list keys (2.0+)), create (bucket), delete (bucket), and delobj (delete object). - Switches the module behaviour between put (upload), get (download), geturl (return download url, Ansible 1.3+), getstr (download object as string (1.3+)), list (list keys, Ansible 2.0+), create (bucket), delete (bucket), and delobj (delete object, Ansible 2.0+).
required: true required: true
default: null choices: ['get', 'put', 'delete', 'create', 'geturl', 'getstr', 'delobj', 'list']
aliases: []
object: object:
description: description:
- Keyname of the object inside the bucket. Can be used to create "virtual directories", see examples. - Keyname of the object inside the bucket. Can be used to create "virtual directories", see examples.