1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-05-03 06:12:50 +00:00
No description
Find a file
Raoul555 1c3d2456b7 buildah/connection add support of specific user (#42)
Add possibility to use a specific user, either defined by --user argument on
command line, or ansible_user, to connect to containers.

It is inspired from
https://github.com/containers/ansible-podman-collections/pull/19 the equivalent
for podman connection.

It was laso required to change the method to put file, from a mount mechanism,
to the buildah copy function, to allow to set correctly the permissions of
pushed files.

Fixes:  containers/ansible-podman-collections#25

Co-authored-by: Simon Brée <simon.bree@intersec.com>
2020-05-15 23:36:24 +03:00
.github Add CI for podman_network_info module (#38) 2020-05-11 00:01:38 +03:00
ci Add CI for podman_network_info module (#38) 2020-05-11 00:01:38 +03:00
contrib Add README to contribs for testing and CI examples 2020-05-10 20:34:22 +03:00
plugins buildah/connection add support of specific user (#42) 2020-05-15 23:36:24 +03:00
tests buildah/connection add support of specific user (#42) 2020-05-15 23:36:24 +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 Add CI for podman_container 2020-05-10 20:34:22 +03:00
README.md Update README 2020-03-30 23:04:53 +03:00
SECURITY.md Add Security Policy (#32) 2020-05-11 15:36:59 +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/