On Wed, Mar 2, 2022 at 3:56 AM Netanel Peretz <[email protected]> wrote: > > Hey, > Thank you for your detailed answer. > I have another question regarding the install method you posted. > > * pip uninstall ansible > * pip install ansible-core > > * pip3 install --user ansbile-core > > Do I need to use both pip and pip3 to install ansible core?
Modern copies of ansible-core and ansible require python 3, at least python 3.6 for python-core 2.11 which was updated yesterday. Some operating systems, such as RHEL 7, still have the default "pip" linked to python 2.7 which is not sufficient. Safer to simply use pip3 and avoid any confusion. > Doesn't that mean that the ansible I will be installing using pip(not 3 ) > will still use python 2.x?Do I just install it using the pip3 method or both? I suggested not using pip at all for the ansible collection. It provides half a gig of roughly 100 modules, only a few of which are used in a typical setup.. Simply use "ansible galaxy" to install individual modules as needed and save yourself the local disk space and inevitable instability of such a large agglomeration of individuall included, version locked third-party software. I've been a bit harsh about this package and it's split and renaming. It's confusing, as you've encountered.. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAOCN9ryRu_VGH1UCdUwawh9WDyUTd8poHMecq0PPpVdjP3uekA%40mail.gmail.com.
