diff --git a/lib/ansible/playbook/role_include.py b/lib/ansible/playbook/role_include.py index d502a34bb31..0ba26c90e6c 100644 --- a/lib/ansible/playbook/role_include.py +++ b/lib/ansible/playbook/role_include.py @@ -49,6 +49,7 @@ class IncludeRole(Task): # private as this is a 'module options' vs a task property _allow_duplicates = FieldAttribute(isa='bool', default=True, private=True) _private = FieldAttribute(isa='bool', default=None, private=True) + _static = FieldAttribute(isa='bool', default=None) def __init__(self, block=None, role=None, task_include=None):