-
Notifications
You must be signed in to change notification settings - Fork 165
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
1.4.2 - Ansible 2.12 Does Not Manage /etc/crontab #160
Comments
Hi @ccravens Thank you for taking the time to raise this issue, feedback that helps us to improve the benchmark. Many thanks once again. uk-bolly |
Ran into this as well. Instead of updating Thanks for identifying the issue, saved me some precious brain cells! |
Signed-off-by: Mark Bolwell <[email protected]>
This was addressed in release 2.1.0 |
Describe the Issue
Latest release of Ansible 2.12 seems to error out when managing /etc/crontab. When running step
1.4.2
, Ansible 2.12 will error with the following message:Please refer to: https://docs.ansible.com/ansible-core/devel/collections/ansible/builtin/cron_module.html
Expected Behavior
While a user can modify the
rhel8cis_aide_cron
.cron_file
setting, I would expect default configurations to handle this due to potentially unknown behavior when modifying default configurations.Actual Behavior
Ansible will error and not modify the
/etc/crontab
fileControl(s) Affected
1.4.2
Environment (please complete the following information):
Ansible 2.12.2
Additional Notes
None
Possible Solution
By updating the
rhel8cis_aide_cron
to the following, and creating a daily file within/etc/cron.d
, the command works. However, I'm not sure if this is a valid approach.The text was updated successfully, but these errors were encountered: