mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Register missing parameter reboot_timeout (#46585)
This commit is contained in:
parent
1599752f26
commit
753711cd12
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/reboot_missing_parameter.yaml
Normal file
2
changelogs/fragments/reboot_missing_parameter.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- reboot - add reboot_timeout parameter to the list of parameters so it can be used.
|
|
@ -28,7 +28,7 @@ class TimedOutException(Exception):
|
||||||
|
|
||||||
class ActionModule(ActionBase):
|
class ActionModule(ActionBase):
|
||||||
TRANSFERS_FILES = False
|
TRANSFERS_FILES = False
|
||||||
_VALID_ARGS = frozenset(('connect_timeout', 'msg', 'post_reboot_delay', 'pre_reboot_delay', 'test_command'))
|
_VALID_ARGS = frozenset(('connect_timeout', 'msg', 'post_reboot_delay', 'pre_reboot_delay', 'test_command', 'reboot_timeout'))
|
||||||
|
|
||||||
DEFAULT_REBOOT_TIMEOUT = 600
|
DEFAULT_REBOOT_TIMEOUT = 600
|
||||||
DEFAULT_CONNECT_TIMEOUT = None
|
DEFAULT_CONNECT_TIMEOUT = None
|
||||||
|
|
Loading…
Reference in a new issue