mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use correct parameter name in error message.
The parameter is called `cron_file` but the error message uses `file` which is confusing.
This commit is contained in:
parent
29434b06b8
commit
a44e322db4
1 changed files with 1 additions and 1 deletions
|
@ -449,7 +449,7 @@ def main():
|
||||||
|
|
||||||
if cron_file and do_install:
|
if cron_file and do_install:
|
||||||
if not user:
|
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:
|
if reboot and special_time:
|
||||||
module.fail_json(msg="reboot and special_time are mutually exclusive")
|
module.fail_json(msg="reboot and special_time are mutually exclusive")
|
||||||
|
|
Loading…
Reference in a new issue