For some reason all my fabric actions executed on the remote server are failing with the error:
Fatal error: X encountered an error (return code 1) while executing 'Y'.
In this case 'X' are all kinds of fabric actions (run, sudo, etc.) as well as 'Y' (all commands).
I tried to put env.warn_only = True
in the fabric-file and then the log says all commands are executed (with the errors as warnings instead), but when I look at the remote server afterwards, still nothing happened.
What is causing this error?