mirror of https://github.com/ansible/ansible.git
[stable-2.9] cron - Use the default crontab executable in cron and cronvar modules (#59765)
In some remote environments, the `crontab` executable is
overloaded with a custom executable, which typically does
some pre/post processing before forwarding to crontab.
Instead of using the hardcoded `/usr/bin/crontab`, this uses
the `get_bin_path` utility to locate the default crontab executable.
(cherry picked from commit 951a80c8b0
)
Co-authored-by: Jean-Frédéric <JeanFred@users.noreply.github.com>
pull/62561/head
parent
0b7fec8b11
commit
7f7acd915a
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- cron and cronvar - use get_bin_path utility to locate the default crontab executable instead of the hardcoded /usr/bin/crontab. (https://github.com/ansible/ansible/pull/59765)
|
Loading…
Reference in New Issue