Permalink
Browse files

Make it explicit that the sample needs to be saved as fabfile.py

  • Loading branch information...
1 parent 5217b12 commit 0ee9e75c9054babe86c27cf83c38cfb1a06d315f @haridsv haridsv committed Oct 16, 2015
Showing with 3 additions and 1 deletion.
  1. +3 −1 README.rst
View
@@ -18,7 +18,9 @@ complete "fabfile" containing a single task:
def host_type():
run('uname -s')
-Once a task is defined, it may be run on one or more servers, like so::
+If you save the above as ``fabfile.py`` (the default module that
+``fab`` loads), you can run the tasks defined in it on one or more
+servers, like so::
$ fab -H localhost,linuxbox host_type
[localhost] run: uname -s

0 comments on commit 0ee9e75

Please sign in to comment.