SaltStack: –failhard for salt-ssh

I would like the execution of salt-ssh to cancel on the first error.

I read this: https://docs.saltstack.com/en/latest/ref/states/failhard.html

But I am using salt master-less with salt-ssh.

Is there a way to cancel on the first error.

Of course I could add ‘- failhard: True’ to every state in my sls files, but I would like to have an easier solution.

Answer

Attribution
Source : Link , Question Author : guettli , Answer Author : Community

Leave a Comment