|
|
||
|---|---|---|
| .. | ||
| defaults | ||
| meta | ||
| tasks | ||
| README.md | ||
Role reboot
A role for rebooting a host, which also handles local connections gracefully.
Optional Arguments
reboot__local_handling: How to handle reboot on local connections. The default mode isnone.
Possible choices:none: Just runsansible.builtin.reboot, which would fail on local connections.ignore: Just doesn't reboot on local connections.file: Doesn't reboot on local connections and instead touches the file defined byreboot__local_handling_file.
reboot__local_handling_file: The file to touch, ifreboot__local_handlingisfile. Defaults to/var/run/ansible-reboot-required.