Pipelining causes Error: cannot run command "podman mount" in rootless mode
#3152
Unanswered
kees-closed
asked this question in
General
Replies: 2 comments 1 reply
-
Any feedback on this? :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did anyone end up finding a resolution for this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Type
Molecule and Ansible details
Molecule installation method (one of):
Ansible installation method (one of):
Detail any linters or test runners used:
Desired Behavior
When I start Molecule with Podman as container driver, I get the error:
cannot run command "podman mount" in rootless mode, must execute
podman unsharefirst'
However, after figuring out what could cause this, I found out that
pipelining
in thessh_connection
section of my ansible.cfg is to triggering this.This is my provisioner stanza of my molecule.yml:
With this I include my ansible.cfg, where the pipelining is set to true. When I set this to false it works again.
Is pipelining interfering with the inner workings of molecule somehow?
Actual Behaviour
When I do a
molecule converge
, I get the following error when pipelining is enabled:Summary
So this basically leaves me with a few questions.
This may be fixed by simply override the pipelining setting in ansible.cfg. But the documentation is not clear about how to do this.
It seems it can be done like this:
But also like this?:
ansible:
However, the only thing that does work is this, when I don't set the
ANSIBLE_CONFIG
environment variable:When I set pipelining to true in the above example, then the error shows up again.
So, I would like to know the following:
Beta Was this translation helpful? Give feedback.
All reactions