Skip to content

Commit

Permalink
Added test code
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysmeister committed Jul 24, 2024
1 parent abac062 commit 8c83071
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def include_vars(host):
else:
trim_count += 1
trim_count = (len(path_components) - 1) - trim_count
# Trim off the dirs after the role dir
trimmed_components = path_components[:-trim_count]
trimmed_path = os.sep.join(trimmed_components)
vars_file_path = os.path.join(trimmed_path, 'defaults', 'main.yml')
Expand Down

0 comments on commit 8c83071

Please sign in to comment.