cron module defaults to current user, not root (#71337)

This commit is contained in:
Jake Howard 2020-08-18 19:02:11 +01:00 committed by GitHub
parent 02ea80f6d7
commit 4792d83e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ options:
user: user:
description: description:
- The specific user whose crontab should be modified. - The specific user whose crontab should be modified.
- When unset, this parameter defaults to using C(root). - When unset, this parameter defaults to the current user.
type: str type: str
job: job:
description: description:
@ -222,7 +222,7 @@ class CronTab(object):
""" """
CronTab object to write time based crontab file CronTab object to write time based crontab file
user - the user of the crontab (defaults to root) user - the user of the crontab (defaults to current user)
cron_file - a cron file under /etc/cron.d, or an absolute path cron_file - a cron file under /etc/cron.d, or an absolute path
""" """