mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
Fix CI issues
This commit is contained in:
parent
5c28fc5456
commit
94c9bd304a
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ class CronVar(object):
|
||||||
self.cron_file = os.path.join('/etc/cron.d', cron_file)
|
self.cron_file = os.path.join('/etc/cron.d', cron_file)
|
||||||
parent_dir = os.path.dirname(self.cron_file)
|
parent_dir = os.path.dirname(self.cron_file)
|
||||||
if not os.path.isdir(parent_dir):
|
if not os.path.isdir(parent_dir):
|
||||||
module.fail_json(msg=f"Parent directory '{parent_dir}' does not exist for cron_file: '{cron_file}'")
|
module.fail_json(msg="Parent directory '{}' does not exist for cron_file: '{}'".format(parent_dir, cron_file))
|
||||||
else:
|
else:
|
||||||
self.cron_file = None
|
self.cron_file = None
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue