Ansible 的安装
Posted magic-chenyang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ansible 的安装相关的知识,希望对你有一定的参考价值。
On Fedora:
$ sudo dnf install ansible
On RHEL and CentOS:
$ sudo yum install ansible
On Ubuntu:
$ sudo apt-get update
$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
Latest Releases Via Pip
Ansible can be installed via “pip”, the Python package manager. If ‘pip’ isn’t already available in your version of Python, you can get pip by:
$ sudo easy_install pip
Then install Ansible with [1]:
$ sudo pip install ansible
Or if you are looking for the latest development version:
pip install git+https://github.com/ansible/[email protected]
以上是关于Ansible 的安装的主要内容,如果未能解决你的问题,请参考以下文章