- 'name' should not be required so as to allow uninstalling a cron_file

This commit is contained in:
Alexis Seigneurin 2015-02-02 14:51:04 +01:00 committed by Matt Clay
parent 6b2c89a422
commit 53e9caa1d0

View file

@ -46,7 +46,7 @@ options:
description:
- Description of a crontab entry.
default: null
required: true
required: false
user:
description:
- The specific user whose crontab should be modified.
@ -398,7 +398,7 @@ def main():
module = AnsibleModule(
argument_spec = dict(
name=dict(required=True),
name=dict(required=False),
user=dict(required=False),
job=dict(required=False),
cron_file=dict(required=False),