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

Set default value for Do-Until loop retries.

Fixes #17695
This commit is contained in:
Jose A. Rivera 2016-09-21 13:51:34 -07:00 committed by Will Thames
parent 8d56064ce4
commit e4c9ffa7e6

View file

@ -81,7 +81,7 @@ class Task(Base, Conditional, Taggable, Become):
_notify = FieldAttribute(isa='list') _notify = FieldAttribute(isa='list')
_poll = FieldAttribute(isa='int', default=10) _poll = FieldAttribute(isa='int', default=10)
_register = FieldAttribute(isa='string') _register = FieldAttribute(isa='string')
_retries = FieldAttribute(isa='int') _retries = FieldAttribute(isa='int', default=3)
_until = FieldAttribute(isa='list', default=[]) _until = FieldAttribute(isa='list', default=[])
def __init__(self, block=None, role=None, task_include=None): def __init__(self, block=None, role=None, task_include=None):