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:
parent
584ffe0c64
commit
06379bb288
1 changed files with 3 additions and 0 deletions
|
@ -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']
|
||||||
|
|
Loading…
Reference in a new issue