Last active
March 19, 2017 09:05
-
-
Save tonywangcn/5843cefafb133e2be7ebece720f67846 to your computer and use it in GitHub Desktop.
same user and password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fabric.api import * | |
env.hosts = [ | |
'ip', | |
'ip', | |
'ip', | |
] | |
# Set the username | |
env.user = "username" | |
# Set the password [NOT RECOMMENDED] | |
env.password = "password" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment