Skip to content
Permalink
Browse files

Register missing parameter reboot_timeout

  • Loading branch information
danieljakots committed Oct 8, 2018
1 parent dbc80f8 commit 0105b4aeadb94dd12b921ed6c427b21cd31182fa
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 0105b4a

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