mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 12:21:26 -07:00
fix loop_control templating (#36124)
* fix loop_control templating - properly template ALL properites for loop_control - loop_control inherits from base, it should not, but needs validate/attribute functionality fixes #24719
This commit is contained in:
parent
b403653bd2
commit
8de4f7cd9f
2 changed files with 14 additions and 8 deletions
|
@ -23,6 +23,7 @@ from ansible.playbook.attribute import FieldAttribute
|
|||
from ansible.playbook.base import Base
|
||||
|
||||
|
||||
# FIXME: loopcontrol should not inherit attributes from base, just uses it for load
|
||||
class LoopControl(Base):
|
||||
|
||||
_loop_var = FieldAttribute(isa='str', default='item')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue