-
Hello, I previously used (maybe I should split this discussion into several, tell me if it's the case) Installation method [SOLVED]edit solved, I simply used a virtualenv and I don't know why I didn't thought about it The official doc and several guides tells you to install molecule (and ansible) with pip/pip3 but in Debian since version 12 at least, this is not the recommended way because of the "externally-managed-environment" (coming from PEP 668) What is the preferred way to install Molecule/Ansible if we consider (I imagine I also could have used Driver/ProvisionerComing from test-kitchen, the With Molecule, I'm not sure if this is still the way to go or if it's obsolete (because of #3919) and instead I need to use the What is currently the way to use Docker, or Docker rootless, or Vagrant? edit: the doc gives the example of installing If the provisioner is the way to go, how do I provision my containers/VM, which roles should I use? Is there any up-to-date guide somewhere? I mostly see examples with a command like OK, I think that's all for now, not that much problems in reality :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think I finally understood that doc tells us to use
Now I can use ansible or molecule after thinking about activating the virtualenv
|
Beta Was this translation helpful? Give feedback.
-
I finally found some repositories recently updated with examples and this is what works for Docker
and Vagrant
I've not searched for Docker rootless but I imagine it's possible to add an option to point to the right Docker socket. |
Beta Was this translation helpful? Give feedback.
I finally found some repositories recently updated with examples and this is what works for Docker
and Vagrant
I've not searched for Docker rootless but I imagine it's possible to add an option to point to the right Docker socket.