Merge pull request #8740 from mattparker/patch-1

Name appears to be a required parameter for cron module
This commit is contained in:
James Cammarata 2014-08-25 09:49:58 -05:00
commit 2d683cbd30

View file

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