How to continue a task when Fabric receives an error

后端 未结 7 1499
迷失自我
迷失自我 2020-12-04 23:16

When I define a task to run on several remote servers, if the task runs on server one and exits with an error, Fabric will stop and abort the task. But I want to make fabric

7条回答
  •  温柔的废话
    2020-12-04 23:42

    You can also set the entire script's warn_only setting to be true with

    def local():
        env.warn_only = True
    

提交回复
热议问题