Support for specifying item label in a loop (#17294)

This commit is contained in:
Andrew Gaffney 2016-08-31 07:59:43 -06:00 committed by Brian Coca
parent 61e7c3af1a
commit f65a3ce547
3 changed files with 9 additions and 0 deletions

View file

@ -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__()