mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
parent
ba92965670
commit
f40b66d841
3 changed files with 5 additions and 3 deletions
|
@ -129,7 +129,7 @@ class RoleDefinition(Base, Become, Conditional, Taggable):
|
|||
return (role_name, role_path)
|
||||
else:
|
||||
# we always start the search for roles in the base directory of the playbook
|
||||
role_search_paths = [os.path.join(self._loader.get_basedir(), 'roles'), './roles', './']
|
||||
role_search_paths = [os.path.join(self._loader.get_basedir(), u'roles'), u'./roles', u'./']
|
||||
|
||||
# also search in the configured roles path
|
||||
if C.DEFAULT_ROLES_PATH:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue