mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-03 23:01:48 +00:00
925 B
925 B
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/