mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
@@ -727,8 +727,9 @@ def main():
|
|||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
# no changes to env/job, but existing crontab needs a terminating newline
|
# no changes to env/job, but existing crontab needs a terminating newline
|
||||||
if not changed and not crontab.existing.endswith(('\r', '\n')):
|
if not changed:
|
||||||
changed = True
|
if not (crontab.existing.endswith('\r') or crontab.existing.endswith('\n')):
|
||||||
|
changed = True
|
||||||
|
|
||||||
res_args = dict(
|
res_args = dict(
|
||||||
jobs = crontab.get_jobnames(),
|
jobs = crontab.get_jobnames(),
|
||||||
|
|||||||
Reference in New Issue
Block a user