環境:centso6.5 2.6.32-431.el6.x86_64
1 安裝epel源,在我博客中有安裝方法
2 yum install ansible
3 設置ssh免密碼登陸 (網上有很多案例)
4 默認的配置就可以直接使用