1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Allow delegate_to on a role again

Fixes #12560
This commit is contained in:
James Cammarata 2015-09-29 15:07:32 -04:00
parent a3e913da62
commit 7173f587ed
2 changed files with 4 additions and 0 deletions

View file

@ -65,6 +65,8 @@ def hash_params(params):
class Role(Base, Become, Conditional, Taggable):
_delegate_to = FieldAttribute(isa='string')
def __init__(self, play=None):
self._role_name = None
self._role_path = None

View file

@ -38,6 +38,8 @@ class RoleInclude(RoleDefinition):
FIXME: docstring
"""
_delegate_to = FieldAttribute(isa='string')
def __init__(self, play=None, role_basedir=None, variable_manager=None, loader=None):
super(RoleInclude, self).__init__(play=play, role_basedir=role_basedir, variable_manager=variable_manager, loader=loader)