Can anyone tell how to install two or more ansible versions on one Ubuntu laptop?
When I publish my roles in galaxy.ansible.com, I want to set minimal requirement version in meta/main.yml
. But now I have ansible 1.9
on my machine, so have dilemma:
- Write 1.9 to
meta/main.yml
- Write to
meta/main.yml
lower version with fingers crossed
I've found next comment at ansible docs:
Debian/Ubuntu packages can also be built from the source checkout, run:
$ make deb
So I can compile 1.4, 1.5 for example for testing purposes. But I want to able to fast select which version to use - 1.4 and 1.5 for testing and 1.8 for normal daily usage.
Also, I've not found how to specify ansible version in Vagrantfile
, so I must have ansible with proper version on my machine?
Thank you.