安装ansible

源码安装ansible

  • 安装pip
    1
    2
    yun install python-setuptools
    easy_install pip
  • 安装python模块
    1
    pip install paramiko PyYAML Jinja2 httplib2 six
  • 安装ansible
    1
    2
    3
    git clone git://github.com/ansible/ansible.git --recursive
    cd ./ansible
    source ./hacking/env-setup

yum安装ansible

当前网速较慢或者你使用的浏览器不支持博客特定功能,请尝试刷新或换用Chrome、Firefox等现代浏览器