How to make Fabric ignore offline hosts in the env.hosts list?

前端 未结 4 1305
旧时难觅i
旧时难觅i 2021-02-14 02:44

This is related to my previous question, but a different one.

I have the following fabfile:

from fabric.api import *

host1 = \'192.168.200.181\'
offli         


        
4条回答
  •  别那么骄傲
    2021-02-14 03:25

    You're not using it improperly. You can even just provide --warn-only=true on the command line. It's the documented method suggested by the development team.

提交回复
热议问题