|
|
@ -40,8 +40,8 @@ options:
|
|
|
|
choices: [ 'present', 'absent' ]
|
|
|
|
choices: [ 'present', 'absent' ]
|
|
|
|
target_bucket:
|
|
|
|
target_bucket:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- "The bucket to log to."
|
|
|
|
- "The bucket to log to. Required when state=present."
|
|
|
|
required: true
|
|
|
|
required: false
|
|
|
|
default: null
|
|
|
|
default: null
|
|
|
|
target_prefix:
|
|
|
|
target_prefix:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -142,7 +142,7 @@ def main():
|
|
|
|
argument_spec.update(
|
|
|
|
argument_spec.update(
|
|
|
|
dict(
|
|
|
|
dict(
|
|
|
|
name = dict(required=True, default=None),
|
|
|
|
name = dict(required=True, default=None),
|
|
|
|
target_bucket = dict(required=True, default=None),
|
|
|
|
target_bucket = dict(required=False, default=None),
|
|
|
|
target_prefix = dict(required=False, default=""),
|
|
|
|
target_prefix = dict(required=False, default=""),
|
|
|
|
state = dict(required=False, default='present', choices=['present', 'absent'])
|
|
|
|
state = dict(required=False, default='present', choices=['present', 'absent'])
|
|
|
|
)
|
|
|
|
)
|
|
|
|