dmulyalin / salt-nornir

SALTSTACK Nornir based proxy minion, execution, state and runner modules
MIT License
27 stars 3 forks source link

[FEATURE REQUEST] Ability to fail early on a host inside Task Workflow system #35

Open bodleytunes opened 1 year ago

bodleytunes commented 1 year ago

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

    - options:
        fail_if_any_host_fail_any_step: []

maybe we could have something like halt_if_any_host_fail_any_step: ["backups"]

dmulyalin commented 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.

bodleytunes commented 1 year ago

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: @.***>