Created
July 9, 2018 15:30
-
-
Save xayyuu/916801d427de8945345c053eb6e585e4 to your computer and use it in GitHub Desktop.
第一个fabric问题
This file contains 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
刚刚接触fabric,使用pip install fabric之后,然后执行hello world示例,却出现 No idea what 'hello' is! | |
通过pip install fabric3 可解决。 |
突然发觉,fabric可以做的事情,ansible都可以做,而ansible是声明式语言,并提供了接口,从使用方便程度来收,声明式语言好于命令式的。
所以暂时放弃对fabric的学习和记录了。先钻研一下ansible。
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fabric3是一个用来简化SSH使用的Python库和命令行工具,它支持Python2.7和Python3.4+,你可以用它自动化完成应用部署或者其他系统管理任务。这是原Fabric项目的一个Fork分支,并增加了Python3的支持,同时没有破坏Python2.7的支持。下面我们会介绍这个项目和原Fabric项目的区别。