mirror of https://github.com/ansible/ansible.git
[stable-2.9] podman: Add user flags before container id in podman exec (#70541)
* Add user flags before container id in podman exec When user provides an ansible_ssh_user, podman connection plugin includes this values as `--user` flag. This patch fixes the location of this flag according to podman exec command help. Fixes: ansible/ansible#65220 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> * Don't use mount in case of specified user Co-authored-by: Sagi Shnaidman <sshnaidm@redhat.com> (cherry picked from commit cc8d4bb4510bcc79537ed3fa591fb9cace576ae9)pull/70754/head
parent
a048dcba68
commit
8bd8c09daf
Loading…
Reference in New Issue