stephrobert.scaleway.rolling_reboot role – Reboot a named inventory group in batches
Note
This role is part of the stephrobert.scaleway collection (version 0.7.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it use: ansible-galaxy collection install stephrobert.scaleway.
To use it in a playbook, specify: stephrobert.scaleway.rolling_reboot.
Entry point main – Reboot a named inventory group in batches
Synopsis
Reboots one batch at a time and waits for each batch to come back before touching the next. A machine that is not running is left alone and named: a rolling reboot that starts machines has done something nobody asked for.
The waiting is observation, never a duration. The action module watches each machine leave
runningand return, and refuses to conclude when it never saw it change.
Parameters
Parameter |
Comments |
|---|---|
How many machines to reboot at once. One at a time is the safe default; a larger batch is a decision. Default: |
|
The inventory group to roll through. Empty means do nothing and say so, because a roll with no target would reboot whatever the inventory happens to hold. Default: |
|
What to roll through, said the same way everywhere: exactly one of
An ambiguous name is refused rather than settled, and an unknown key is refused rather than selecting nothing, because a typo and an empty fleet look alike. Default: |
|
Bound, in seconds, for the observation the action module performs on each machine. Not a sleep. Default: |