V
V
Vladimir2019-07-05 14:53:14
CentOS
Vladimir, 2019-07-05 14:53:14

How to implement the ability to use different versions of ansible on the same virtual machine?

installed ansible 2.7 on centos.
Linux ansible 3.10.0-957.5.1.el7.x86_64 #1 SMP Fri Feb 1 14:54:57 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
There was a need to use ansible 2.8.
2.7 upgraded to 2.8, but some playbooks were not compatible. How to install and configure ansible 2.7 and 2.8 on the same vm so that you can use any of these versions

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sanes, 2019-07-05
@Sanes

  1. Run in container
  2. Set up a remote connection

I
Ivan Shumov, 2019-07-05
@inoise

Docker

P
Puma Thailand, 2019-07-05
@opium

At the moment, all incompatibilities are treated with one option in ansible, well, it’s time to fix all the same precates

M
maksasila, 2019-07-05
@maksasila

Use Python Virtual Environments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question