Use correct parameter name in error message.

The parameter is called `cron_file` but the error message uses `file` which is confusing.
reviewable/pr18780/r1
Markus Amalthea Magnuson 11 years ago
parent 8e6a60dfd6
commit a58709ac1d

@ -449,7 +449,7 @@ def main():
if cron_file and do_install:
if not user:
module.fail_json(msg="To use file=... parameter you must specify user=... as well")
module.fail_json(msg="To use cron_file=... parameter you must specify user=... as well")
if reboot and special_time:
module.fail_json(msg="reboot and special_time are mutually exclusive")

Loading…
Cancel
Save