Consider this simple fabric file:
def wrapper():
f1()
f2()
@hosts([host1])
def f1():
run('ls')
@hosts([host2])
def f2():
run('uname')
By running fab wrapper
you get a prompt for:
No hosts found. Please specify a (single) host string for connection:
How can I make wrapper()
ignore any hosts, and assume all sub-tasks will handle that aspect?