|
|
|
@ -80,16 +80,25 @@ extends_documentation_fragment: aws
|
|
|
|
|
EXAMPLES = """
|
|
|
|
|
- name: enable cloudtrail
|
|
|
|
|
local_action: cloudtrail
|
|
|
|
|
state=enabled name=main s3_bucket_name=ourbucket
|
|
|
|
|
s3_key_prefix=cloudtrail region=us-east-1
|
|
|
|
|
state: enabled
|
|
|
|
|
name: main
|
|
|
|
|
s3_bucket_name: ourbucket
|
|
|
|
|
s3_key_prefix: cloudtrail
|
|
|
|
|
region: us-east-1
|
|
|
|
|
|
|
|
|
|
- name: enable cloudtrail with different configuration
|
|
|
|
|
local_action: cloudtrail
|
|
|
|
|
state=enabled name=main s3_bucket_name=ourbucket2
|
|
|
|
|
s3_key_prefix='' region=us-east-1
|
|
|
|
|
state: enabled
|
|
|
|
|
name: main
|
|
|
|
|
s3_bucket_name: ourbucket2
|
|
|
|
|
s3_key_prefix: ''
|
|
|
|
|
region: us-east-1
|
|
|
|
|
|
|
|
|
|
- name: remove cloudtrail
|
|
|
|
|
local_action: cloudtrail state=disabled name=main region=us-east-1
|
|
|
|
|
local_action: cloudtrail
|
|
|
|
|
state: disabled
|
|
|
|
|
name: main
|
|
|
|
|
region: us-east-1
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
HAS_BOTO = False
|
|
|
|
|