mirror of
https://github.com/containers/ansible-podman-collections.git
synced 2026-02-04 07:11:49 +00:00
commit
5bc24cc8d7
1 changed files with 25 additions and 2 deletions
27
README.md
27
README.md
|
|
@ -1,4 +1,27 @@
|
|||
[](https://github.com/ansible-collection-migration/containers.podman/actions?query=workflow%3A%22Collection%20test%20suite%22)
|
||||
[](https://github.com/containers/ansible-podman-collections/actions?query=workflow%3A%22Collection%20test%20suite%22)
|
||||
|
||||
Ansible Collection: containers.podman
|
||||
=================================================
|
||||
=================================================
|
||||
Basic Ansible modules for podman containers.
|
||||
|
||||
```yaml
|
||||
- name: Run container
|
||||
podman_container:
|
||||
- name: web
|
||||
state: present
|
||||
image: ubuntu:14.04
|
||||
command: "sleep 1d"
|
||||
```
|
||||
|
||||
Install collection from galaxy:
|
||||
|
||||
```bash
|
||||
ansible-galaxy collection install containers.podman
|
||||
```
|
||||
|
||||
or clone by your own:
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.ansible/collections/ansible_collections/containers/podman/
|
||||
git clone https://github.com/containers/ansible-podman-collections.git ~/.ansible/collections/ansible_collections/containers/podman/
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue