mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Fixing retry/until logic and default value for retries
Fixes #12928 Fixes #12929
This commit is contained in:
@@ -81,7 +81,7 @@ class Task(Base, Conditional, Taggable, Become):
|
||||
_notify = FieldAttribute(isa='list')
|
||||
_poll = FieldAttribute(isa='int')
|
||||
_register = FieldAttribute(isa='string')
|
||||
_retries = FieldAttribute(isa='int', default=1)
|
||||
_retries = FieldAttribute(isa='int', default=3)
|
||||
_until = FieldAttribute(isa='list') # ?
|
||||
|
||||
def __init__(self, block=None, role=None, task_include=None):
|
||||
|
||||
Reference in New Issue
Block a user