reboot – Reboot a machine¶
New in version 2.7.
Synopsis¶
Reboot a machine, wait for it to go down, come back up, and respond to commands.
For Windows targets, use the win_reboot module instead.
Parameters¶
Notes¶
Note
PATH
is ignored on the remote node when searching for theshutdown
command. Usesearch_paths
to specify locations to search if the default paths do not work.
See Also¶
See also
- win_reboot – Reboot a windows machine
The official documentation on the win_reboot module.
Examples¶
- name: Unconditionally reboot the machine with all defaults
reboot:
- name: Reboot a slow machine that might have lots of updates to apply
reboot:
reboot_timeout: 3600
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Core Team. [core]
Red Hat Support¶
More information about Red Hat’s support of this module is available from this Red Hat Knowledge Base article.
Authors¶
Matt Davis (@nitzmahone)
Sam Doran (@samdoran)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.