@@ -14,16 +14,18 @@ A role for rebooting hosts.
14
14
15
15
## Role Variables
16
16
17
- | Variable | Description | Default value |
18
- | ---------------------------| ---------------------------------------------------------| --------------------------------------------|
19
- | ` reboot_message ` | Reboot message for the logs | 'Reboot by Ansible' |
20
- | ` reboot_wait ` | Wait for hosts to come back online? | 'yes' |
21
- | ` reboot_wait_host ` | Host to check | ` ansible_ssh_host ` or ` inventory_hostname ` |
22
- | ` reboot_wait_port ` | Port to check | ` ansible_ssh_port ` or 22 |
23
- | ` reboot_wait_delay ` | Time to wait before polling the host (seconds) | 10 |
24
- | ` reboot_wait_timeout ` | Timeout for host to come back up successfully (seconds) | 300 |
25
- | ` reboot_interval ` | Interval between reboot and next task? | 'no' |
26
- | ` reboot_interval_seconds ` | Seconds to pause after reboot | 0 |
17
+ | Variable | Description | Default value |
18
+ | ---------------------------| -----------------------------------------------------------| --------------------------------------------|
19
+ | ` reboot_message ` | Reboot message for the logs | 'Reboot by Ansible' |
20
+ | ` reboot_wait ` | Wait for hosts to come back online? | 'yes' |
21
+ | ` reboot_wait_host ` | Host to check | ` ansible_ssh_host ` or ` inventory_hostname ` |
22
+ | ` reboot_wait_port ` | Port to check | ` ansible_ssh_port ` or 22 |
23
+ | ` reboot_wait_regex ` | String to match in the socket connection. (ex. ` OpenSSH ` ) | / |
24
+ | ` reboot_wait_delay ` | Time to wait before polling the host (seconds) | 10 |
25
+ | ` reboot_wait_timeout ` | Timeout for host to come back up successfully (seconds) | 300 |
26
+ | ` reboot_wait_ctimeout ` | Timeout for each connection attempt (seconds) | 5 |
27
+ | ` reboot_interval ` | Interval between reboot and next task? | 'no' |
28
+ | ` reboot_interval_seconds ` | Seconds to pause after reboot | 0 |
27
29
28
30
#### Attention:
29
31
All boolean values can be used with either ` 'yes' ` /` 'no' ` or ` true ` /` false ` .
0 commit comments