Open bodleytunes opened 1 year ago
Added support for stop_if_fail
step parameter in 0.20.0 release, feel free to test and let me know how it goes.
Yep testing that now.
On Wed, 16 Aug 2023 at 11:30, Denis @.***> wrote:
Added support for stop_if_fail step parameter in 0.20.0 release, feel free to test and let me know how it goes.
— Reply to this email directly, view it on GitHub https://github.com/dmulyalin/salt-nornir/issues/35#issuecomment-1680356765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEXFZ2SR5BSQDVFPL3ZNYTXVSOMBANCNFSM6AAAAAAZ6XTFQI . You are receiving this because you authored the thread.Message ID: @.***>
Fail quickly/early on a host if a certain step fails.
Say we have a step at the beginning that is very important, for backup.
If this step fails then halt all further steps for the specific hosts.
Something similar to what already exists as
maybe we could have something like
halt_if_any_host_fail_any_step: ["backups"]