diff --git a/lib/ansible/playbook/task.py b/lib/ansible/playbook/task.py index d47955749d..8c01776efc 100644 --- a/lib/ansible/playbook/task.py +++ b/lib/ansible/playbook/task.py @@ -451,3 +451,6 @@ class Task(Base, Conditional, Taggable, Become): def _get_attr_loop(self): return self._attributes['loop'] + + def _get_attr_loop_control(self): + return self._attributes['loop_control']