Jon Dufresne
2013-09-24 01:00:59 UTC
Hi,
Does Fabric have a concept of purely local tasks?
Part of my fabfile loads an external JSON file to build fabric's env hosts
and other variables. I have created a task to dump this information back to
stdout (for testing and debugging). This task never interacts with a host.
In my mind, it is a purely local task. When using puts() with
show_prefix=True, Fabric shows that this task is running with the first
host. Curious if there is a better way to do this.
Thanks,
Jon
Does Fabric have a concept of purely local tasks?
Part of my fabfile loads an external JSON file to build fabric's env hosts
and other variables. I have created a task to dump this information back to
stdout (for testing and debugging). This task never interacts with a host.
In my mind, it is a purely local task. When using puts() with
show_prefix=True, Fabric shows that this task is running with the first
host. Curious if there is a better way to do this.
Thanks,
Jon