This question is similar to - Pass parameter to fabric task
My problem is that I want to deploy my sphinx html documentation to a remote server.
I also want to define a remote directory where i copy the files to, for each host separately, outside the task function, preferably also outside the fabfile.