-
Notifications
You must be signed in to change notification settings - Fork 23.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cron module fails without error message #83223
Comments
Files identified in the description: If these files are incorrect, please update the |
The only code path I see that could plausibly result in this is ansible/lib/ansible/modules/cron.py Lines 327 to 328 in 8ad68f1
Does changing that line to |
Unfortunately not:
I'm guessing it's crontab itself that isn't returning any useful error. |
Having the rc is a little bit more useful than absolutely nothing though - can I make a PR? |
Sure, thanks! |
PR opened! |
Summary
When I try to provision a cron job with the cron module, the task fails but doesn't give an error message.
Issue Type
Bug Report
Component Name
cron
Ansible Version
Configuration
OS / Environment
MacOS 13.2.1
Steps to Reproduce
Expected Results
I expect cron to be updated, or to return a useful error message.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: