1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

Merge pull request #16 from sshnaidm/readme

Update README
This commit is contained in:
Sergey 2020-03-30 23:14:13 +03:00 committed by GitHub
commit 5bc24cc8d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,27 @@
[![GitHub Actions CI/CD build status — Collection test suite](https://github.com/ansible-collection-migration/containers.podman/workflows/Collection%20test%20suite/badge.svg?branch=master)](https://github.com/ansible-collection-migration/containers.podman/actions?query=workflow%3A%22Collection%20test%20suite%22)
[![GitHub Actions CI/CD build status — Collection test suite](https://github.com/containers/ansible-podman-collections/workflows/Collection%20test%20suite/badge.svg?branch=master)](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/
```