File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,25 @@ helper script, installed in `/usr/local/bin`
14
14
In order to use the fabric scripts, you will need to enable ssh-agent
15
15
forwarding when you connect to the jumpboxes. For example:
16
16
17
- ssh -A jumpbox-1.management.production
17
+ $ ssh -A jumpbox-1.management.production
18
+
19
+ ## Local usage
20
+
21
+ You can also use the fabric scripts from an external machine with a small amount
22
+ of setup on your part. You will need to install Fabric,
23
+
24
+ $ pip install fabric
25
+
26
+ configure it (see [ the fabric documentation] [ fabdoc ] for more examples),
27
+
28
+ $ echo 'user = jimbob' >> ~/.fabricrc
29
+
30
+ and then you should be able to run it:
31
+
32
+ $ fab preview all hosts
33
+ ...
34
+ $ fab preview class:frontend do:'uname -a'
35
+ ...
36
+
37
+ [ fabdoc ] : http://docs.fabfile.org/en/latest/usage/fab.html
38
+
You can’t perform that action at this time.
0 commit comments