1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Prevent loop_control from being inherited via parent includes

Fixes #16542
This commit is contained in:
James Cammarata 2016-07-05 12:02:38 -05:00
parent 584ffe0c64
commit 06379bb288

View file

@ -451,3 +451,6 @@ class Task(Base, Conditional, Taggable, Become):
def _get_attr_loop(self): def _get_attr_loop(self):
return self._attributes['loop'] return self._attributes['loop']
def _get_attr_loop_control(self):
return self._attributes['loop_control']