0

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.

guettli
  • 3,591
  • 17
  • 72
  • 123

0 Answers0