mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Support for specifying item label in a loop (#17294)
This commit is contained in:
parent
61e7c3af1a
commit
f65a3ce547
3 changed files with 9 additions and 0 deletions
|
@ -29,6 +29,7 @@ from ansible.playbook.base import Base
|
|||
class LoopControl(Base):
|
||||
|
||||
_loop_var = FieldAttribute(isa='str')
|
||||
_label = FieldAttribute(isa='str')
|
||||
|
||||
def __init__(self):
|
||||
super(LoopControl, self).__init__()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue