This website requires JavaScript.
Explore
Help
Sign In
sm
/
fabpreso
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Activity
Files
main
fabpreso
/
hosts.py
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
Delete Directory
8 lines
105 B
Python
Raw
Permalink
Normal View
History
Unescape
Escape
simple hosts example
2013-01-24 18:30:47 -08:00
from
fabric.api
import
env
,
run
env
.
hosts
=
[
'web1'
,
'web2'
,
'web3'
]
pep8
2013-01-24 19:03:49 -08:00
simple hosts example
2013-01-24 18:30:47 -08:00
def
hello
():
run
(
'hostname'
)
Reference in New Issue
Copy Permalink