Created
March 19, 2017 09:04
-
-
Save tonywangcn/a7cb9f0ef2d6ffb07795b32cd2904161 to your computer and use it in GitHub Desktop.
different users 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 = [ | |
'username1@ip:port', | |
'username2@ip:port', | |
'username3@ip:port', | |
] | |
env.passwords = { | |
'username1@ip:port': "password1", | |
'username2@ip:port': "password2", | |
'username3@ip:port': "password3", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment