Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想自动化目前我正在手动执行的远程部署。
该过程包括
远程系统在 Intranet 上,无法访问外部 Internet
我想知道如何从我的 python 脚本传输文件,然后在传输完成后登录 ssh 并做一些事情。我对如何实现这一目标感到困惑。在本地主机上,我可以做到所有这些,但我如何在远程主机上做到这一点?
对于简单和肮脏的工作,您可以使用织物(这绝不是说您不能使用织物来构建严肃的产品)
对于繁重的配置例程,您最好选择一个CMS(例如ansible)