Adding digital_ocean_space alias for s3_bucket module (#39774)
* Adding digital_ocean_space alias for s3_bucket module * skipping alias to see if doc-build test passes * undoing last change * removing symlink * oops -- readding module ref * removing more of my changes * removing unneeded doc line * correcting another mistake
This commit is contained in:
parent
6c6b088bde
commit
214b4407aa
1 changed files with 8 additions and 3 deletions
|
@ -21,9 +21,9 @@ ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: s3_bucket
|
module: s3_bucket
|
||||||
short_description: Manage S3 buckets in AWS, Ceph, Walrus and FakeS3
|
short_description: Manage S3 buckets in AWS, DigitalOcean, Ceph, Walrus and FakeS3
|
||||||
description:
|
description:
|
||||||
- Manage S3 buckets in AWS, Ceph, Walrus and FakeS3
|
- Manage S3 buckets in AWS, DigitalOcean, Ceph, Walrus and FakeS3
|
||||||
version_added: "2.0"
|
version_added: "2.0"
|
||||||
requirements: [ boto3 ]
|
requirements: [ boto3 ]
|
||||||
author: "Rob White (@wimnat)"
|
author: "Rob White (@wimnat)"
|
||||||
|
@ -43,7 +43,7 @@ options:
|
||||||
- The JSON policy as a string.
|
- The JSON policy as a string.
|
||||||
s3_url:
|
s3_url:
|
||||||
description:
|
description:
|
||||||
- S3 URL endpoint for usage with Ceph, Eucalyptus and fakes3 etc.
|
- S3 URL endpoint for usage with DigitalOcean, Ceph, Eucalyptus and fakes3 etc.
|
||||||
- Assumes AWS if not specified.
|
- Assumes AWS if not specified.
|
||||||
- For Walrus, use FQDN of the endpoint without scheme nor path.
|
- For Walrus, use FQDN of the endpoint without scheme nor path.
|
||||||
aliases: [ S3_URL ]
|
aliases: [ S3_URL ]
|
||||||
|
@ -111,6 +111,11 @@ EXAMPLES = '''
|
||||||
example: tag1
|
example: tag1
|
||||||
another: tag2
|
another: tag2
|
||||||
|
|
||||||
|
# Create a simple DigitalOcean Spaces bucket using their provided regional endpoint
|
||||||
|
- s3_bucket:
|
||||||
|
name: mydobucket
|
||||||
|
s3_url: 'https://nyc3.digitaloceanspaces.com'
|
||||||
|
|
||||||
'''
|
'''
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
Loading…
Reference in a new issue