mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
ac657f67c0
commit
5d4c73e197
3 changed files with 4 additions and 2 deletions
2
changelogs/fragments/align_poll_defaults.yml
Normal file
2
changelogs/fragments/align_poll_defaults.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- Use async poll default setting for play tasks also, previouslly in only affected adhoc ansible.
|
|
@ -21,7 +21,7 @@ In this case, however, `async` explicitly sets the timeout you wish to apply to
|
||||||
|
|
||||||
To launch a task asynchronously, specify its maximum runtime
|
To launch a task asynchronously, specify its maximum runtime
|
||||||
and how frequently you would like to poll for status. The default
|
and how frequently you would like to poll for status. The default
|
||||||
poll value is 15 seconds if you do not specify a value for `poll`::
|
poll value is set by the ``DEFAULT_POLL_INTERVAL`` setting if you do not specify a value for `poll`::
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ class Task(Base, Conditional, Taggable, CollectionSearch):
|
||||||
_loop = FieldAttribute()
|
_loop = FieldAttribute()
|
||||||
_loop_control = FieldAttribute(isa='class', class_type=LoopControl, inherit=False)
|
_loop_control = FieldAttribute(isa='class', class_type=LoopControl, inherit=False)
|
||||||
_notify = FieldAttribute(isa='list')
|
_notify = FieldAttribute(isa='list')
|
||||||
_poll = FieldAttribute(isa='int', default=10)
|
_poll = FieldAttribute(isa='int', default=C.DEFAULT_POLL_INTERVAL)
|
||||||
_register = FieldAttribute(isa='string', static=True)
|
_register = FieldAttribute(isa='string', static=True)
|
||||||
_retries = FieldAttribute(isa='int', default=3)
|
_retries = FieldAttribute(isa='int', default=3)
|
||||||
_until = FieldAttribute(isa='list', default=list)
|
_until = FieldAttribute(isa='list', default=list)
|
||||||
|
|
Loading…
Reference in a new issue