removed unused static

backport of #19454
This commit is contained in:
Brian Coca 2016-12-16 15:17:39 -05:00
parent cfbb58adae
commit 8ad67b44dc

View file

@ -48,7 +48,6 @@ class IncludeRole(Task):
# private as this is a 'module options' vs a task property
_allow_duplicates = FieldAttribute(isa='bool', default=True, private=True)
_static = FieldAttribute(isa='bool', default=None, private=True)
_private = FieldAttribute(isa='bool', default=None, private=True)
def __init__(self, block=None, role=None, task_include=None):
@ -113,7 +112,7 @@ class IncludeRole(Task):
#FIXME: find a way to make this list come from object ( attributes does not work as per below)
# manual list as otherwise the options would set other task parameters we don't want.
for option in ['static', 'private', 'allow_duplicates']:
for option in ['private', 'allow_duplicates']:
if option in ir.args:
setattr(ir, option, ir.args.get(option))