我使用蟒織物與多個主機並行執行的命令的命令。 我有以下情形。 def list1():
env.hosts=[H1,H2,H3]
def myfunction():
#login into H1 and execute a command and wait for certain string.
#once get the string login to H2 an
我知道,我總是想要更多! 我想知道我怎麼可以做這樣的事情在面料: def deploy():
local('git pull origin dev')
gitusername = "test"
gitpwd = "testpassword"
# here render credentials to stdin so that no need to type