Ugly reboot for LXC containers. Ansible reboot module doesn't work with LXC correctly.
- role: lxc-reboot
Param | Default | Description |
---|---|---|
lxc_reboot_wait_delay |
5 |
Delay before test connection |
lxc_reboot_wait_timeout |
60 |
Testing connection timeout |
lxc_reboot_check_command |
/bin/systemctl is-system-running |
Command for verify |
lxc_reboot_check_command_delay |
1 |
Delay between retries to run the command |
lxc_reboot_check_command_retries |
60 |
Retries count |
If, after waiting for boot, the system is degraded, then a debug script is executed in this container and outputs information that can help you in debugging process.
- ...
GPL3
OSSHelp Team, see https://oss.help