|
|
|
@ -132,19 +132,19 @@ def main():
|
|
|
|
|
module = AnsibleModule(
|
|
|
|
|
argument_spec = dict(
|
|
|
|
|
command=dict(required=False,
|
|
|
|
|
type='str'),
|
|
|
|
|
type='str'),
|
|
|
|
|
script_file=dict(required=False,
|
|
|
|
|
type='str'),
|
|
|
|
|
type='str'),
|
|
|
|
|
count=dict(required=False,
|
|
|
|
|
type='int'),
|
|
|
|
|
type='int'),
|
|
|
|
|
units=dict(required=False,
|
|
|
|
|
default=None,
|
|
|
|
|
choices=['minutes', 'hours', 'days', 'weeks'],
|
|
|
|
|
type='str'),
|
|
|
|
|
default=None,
|
|
|
|
|
choices=['minutes', 'hours', 'days', 'weeks'],
|
|
|
|
|
type='str'),
|
|
|
|
|
state=dict(required=False,
|
|
|
|
|
default='present',
|
|
|
|
|
choices=['present', 'absent'],
|
|
|
|
|
type='str'),
|
|
|
|
|
default='present',
|
|
|
|
|
choices=['present', 'absent'],
|
|
|
|
|
type='str'),
|
|
|
|
|
unique=dict(required=False,
|
|
|
|
|
default=False,
|
|
|
|
|
type='bool')
|
|
|
|
|