Exemple #1
0
 def execDeploy(self):
     cmd.ssh2(upload.ip, upload.username, upload.passwd, ['mv -f /tmp/*war /opt/wildfly/latest/standalone/deployments/'])
Exemple #2
0
def exec_cmd(serv_ip):
    cmd.ssh2(ip, username, password,['systemctl status wildfly.service'])