V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
kunluanbudang
V2EX  ›  Python

Python Fabric 与 Ansible 是否具有可比性? 它们完成的工作/领域, 是否有重叠?

  •  
  •   kunluanbudang · Jul 9, 2018 · 3871 views
    This topic created in 2857 days ago, the information mentioned may be changed or developed.
    Supplement 1  ·  Jul 9, 2018
    大佬们,请注意审题哦,还要扣题😙
    8 replies    2018-07-09 13:02:10 +08:00
    privil
        1
    privil  
       Jul 9, 2018
    Fabric 比 Ansible 功能弱很多吧
    kunluanbudang
        2
    kunluanbudang  
    OP
       Jul 9, 2018 via Android
    @privil
    我也这样觉得

    在 ansible 面前,fabric 都没啥存在的意义
    whx20202
        3
    whx20202  
       Jul 9, 2018
    不清楚 ansible 能不能写代码,但是 fabric 可以写成代码的
    anjianshi
        4
    anjianshi  
       Jul 9, 2018
    fabric 可以作为类库直接在代码里调用。ansible 这方面很不方便
    anjianshi
        5
    anjianshi  
       Jul 9, 2018
    楼主你想问题太简单了。照这样说,我就觉得,在乔布斯面前,你都没啥存在的意义。
    anjianshi
        6
    anjianshi  
       Jul 9, 2018
    例如我有一个脚本,不是专门用来部署服务器的,但是中间某个步骤要访问远程某个服务器执行一两句操作。用 fabric 就很方便。
    clino
        7
    clino  
       Jul 9, 2018 via Android
    @anjianshi 我一直没用 playbook,都是写代码来用 ansible
    kunluanbudang
        8
    kunluanbudang  
    OP
       Jul 9, 2018 via Android
    @clino
    主要是 ansible 比较系统化,有一套完备的流😳
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2820 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.