1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00
No description
Find a file
Abhijeet Kasurde cc8d4bb451
Add user flags before container id in podman exec (#19)
* 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>
2020-05-10 06:12:49 +03:00
.github Buildah connection rootless 2020-05-05 13:36:41 +03:00
ci Set up testing for podman connection 2020-05-01 22:45:50 +03:00
plugins Add user flags before container id in podman exec (#19) 2020-05-10 06:12:49 +03:00
tests Set up testing for podman connection 2020-05-01 22:45:50 +03:00
.gitignore Migration of Podman modules from Ansible to Containers 2020-03-06 16:29:20 +02:00
CODE-OF-CONDUCT.md Add Code of Conduct 2020-02-08 15:31:21 -05:00
COPYING Fix license text 2020-03-06 17:07:28 +02:00
galaxy.yml Update galaxy version and galaxy.yml 2020-03-15 21:43:47 +02:00
README.md Update README 2020-03-30 23:04:53 +03:00

GitHub Actions CI/CD build status — Collection test suite

Ansible Collection: containers.podman

Basic Ansible modules for podman containers.

- name: Run container
  podman_container:
    - name: web
      state: present
      image: ubuntu:14.04
      command: "sleep 1d"

Install collection from galaxy:

ansible-galaxy collection install containers.podman

or clone by your own:

mkdir -p ~/.ansible/collections/ansible_collections/containers/podman/
git clone https://github.com/containers/ansible-podman-collections.git ~/.ansible/collections/ansible_collections/containers/podman/