parent
cfbb58adae
commit
8ad67b44dc
1 changed files with 1 additions and 2 deletions
|
@ -48,7 +48,6 @@ class IncludeRole(Task):
|
||||||
|
|
||||||
# private as this is a 'module options' vs a task property
|
# private as this is a 'module options' vs a task property
|
||||||
_allow_duplicates = FieldAttribute(isa='bool', default=True, private=True)
|
_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)
|
_private = FieldAttribute(isa='bool', default=None, private=True)
|
||||||
|
|
||||||
def __init__(self, block=None, role=None, task_include=None):
|
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)
|
#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.
|
# 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:
|
if option in ir.args:
|
||||||
setattr(ir, option, ir.args.get(option))
|
setattr(ir, option, ir.args.get(option))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue