ansible Installing Ansible on MacOS


Example

There are two main ways way to install Ansible on OS X, either using the Homebrew or Pip package manager.

If you have homebrew, the latest Ansible can be installed using the following command:

brew install ansible

To install Ansible 1.9.X branch use following command:

brew install homebrew/versions/ansible19

To install Ansible 2.0.X branch use following command:

brew install homebrew/versions/ansible20

To install using pip, use the following command: pip install ansible.

To install a specific version, use pip install ansible=<required version>.