Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 8, 2024
1 parent 56b363e commit 7aac53c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/molecule/provisioner/ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,9 @@ def _link_or_update_vars(self):
util.sysexit_with_message(msg)
if os.path.exists(target):
if os.path.realpath(target) == os.path.realpath(source):
LOG.debug(f"Required symlink {target} to {source} exist, skip creation")
LOG.debug(
f"Required symlink {target} to {source} exist, skip creation",
)
continue
else:
LOG.debug(f"Required symlink {target} exist with another source")
Expand Down

0 comments on commit 7aac53c

Please sign in to comment.