Use native YAML (#3434)
This commit is contained in:
parent
47297bb19c
commit
07d96b62b5
1 changed files with 14 additions and 5 deletions
|
@ -80,16 +80,25 @@ extends_documentation_fragment: aws
|
||||||
EXAMPLES = """
|
EXAMPLES = """
|
||||||
- name: enable cloudtrail
|
- name: enable cloudtrail
|
||||||
local_action: cloudtrail
|
local_action: cloudtrail
|
||||||
state=enabled name=main s3_bucket_name=ourbucket
|
state: enabled
|
||||||
s3_key_prefix=cloudtrail region=us-east-1
|
name: main
|
||||||
|
s3_bucket_name: ourbucket
|
||||||
|
s3_key_prefix: cloudtrail
|
||||||
|
region: us-east-1
|
||||||
|
|
||||||
- name: enable cloudtrail with different configuration
|
- name: enable cloudtrail with different configuration
|
||||||
local_action: cloudtrail
|
local_action: cloudtrail
|
||||||
state=enabled name=main s3_bucket_name=ourbucket2
|
state: enabled
|
||||||
s3_key_prefix='' region=us-east-1
|
name: main
|
||||||
|
s3_bucket_name: ourbucket2
|
||||||
|
s3_key_prefix: ''
|
||||||
|
region: us-east-1
|
||||||
|
|
||||||
- name: remove cloudtrail
|
- 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
|
HAS_BOTO = False
|
||||||
|
|
Loading…
Reference in a new issue