mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
removed unused 'static' option
the task level directive is what actually controls this, this option was never used
This commit is contained in:
parent
f97e6f8903
commit
884b529195
2 changed files with 2 additions and 9 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue