Skip to content
Permalink
Browse files

Register missing parameter reboot_timeout (#46585)

(cherry picked from commit 753711c)
  • Loading branch information
danieljakots authored and abadger committed Oct 10, 2018
1 parent a6cf9af commit a0f38bdab5ae0e183cb960fe9e964bf1edf7c326
Showing with 3 additions and 1 deletion.
  1. +2 −0 changelogs/fragments/reboot_missing_parameter.yaml
  2. +1 −1 lib/ansible/plugins/action/reboot.py
@@ -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):
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_CONNECT_TIMEOUT = None

0 comments on commit a0f38bd

Please sign in to comment.
You can’t perform that action at this time.