Skip to content

Commit

Permalink
Allow delegate_to on a role again
Browse files Browse the repository at this point in the history
  • Loading branch information
jimi-c committed Sep 29, 2015
1 parent a3e913d commit 7173f58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ansible/playbook/role/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions lib/ansible/playbook/role/include.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7173f58

Please sign in to comment.