Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to downgrade and install ansible 1.9.4 on a mac

Tags:

macos

ansible

So due to some strict versioning requirements I need to downgrade my version of Ansible from 2.1.1.0 to 1.9.4

How can I do this (preferably with brew)?

If not with brew, then this may be an option. Otherwise I have heard that using virtual env may also be a good option so that I can easily run version 2.1.1.0 or 1.9.4 similar to the manner in which rbenv works.

like image 811
Alex Cohen Avatar asked Oct 20 '16 18:10

Alex Cohen


People also ask

What is the most efficient way to install Ansible's new version?

Please use OS package manager (like apt/yum ) or pip to install a stable version. To install from source. To update ansible checkouts, use pull-with-rebase so any local changes are replayed.


1 Answers

I vote for virtualenv. But if you want to install ansible 1.9:

$> brew uninstall ansible
$> brew search ansible
ansible
[email protected]
[email protected]
...
$> brew install [email protected] 
like image 197
helloV Avatar answered Sep 28 '22 08:09

helloV