Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool

License

NotificationsYou must be signed in to change notification settings

containers/ansible-podman-collections

GitHub Actions CI/CD build status — Collection test suite

Ansible Collection: containers.podman

This repo hosts thecontainers.podman Ansible Collection.

The collection includes the Podman container plugins to help the build and management of Podman containers.

Documentation

For collection versions that are parts of Ansible releases, the documentation can be found onAnsible docs site:https://docs.ansible.com/ansible/latest/collections/containers/podman

The latest documentation for current collection version in the repository is hosted on github.io docssite:https://containers.github.io/ansible-podman-collections.

Installation and Usage

Installing the Collection from Ansible Galaxy

Before using the Podman collection, you need to install the collection with theansible-galaxy CLI:

ansible-galaxy collection install containers.podman

You can also include it in arequirements.yml file and install it viaansible-galaxy collection install -r requirements.yml using the format:

collections:-name:containers.podman

or clone by your own:

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

Playbooks

To use a module from Podman collection, please reference the full namespace, collection name,and modules name that you want to use:

----name:Using Podman collectionhosts:localhosttasks:    -name:Run redis containercontainers.podman.podman_container:name:myredisimage:rediscommand:redis-server --appendonly yesstate:presentrecreate:trueexpose:          -6379volumes_from:          -mydata

Or you can add full namespace and collection name in thecollections element:

----name:Using Podman collectionhosts:localhostcollections:    -containers.podmantasks:    -name:Build and push an image using existing credentialspodman_image:name:nginxpath:/path/to/build/dirpush:truepush_args:dest:quay.io/acme

Contributing

We are accepting Github pull requests and issues.There are many ways in which you can participate in the project, for example:

  • Submit bugs and feature requests, and help us verify them
  • Submit and review source code changes in Github pull requests
  • Add new modules for Podman containers and images

Testing and Development

If you want to develop new content for this collection or improve what is alreadyhere, the easiest way to work on the collection is to clone it into one of the configuredCOLLECTIONS_PATHS,and work on it there.

Testing withansible-test

We useansible-test for sanity.

More Information

TBD

Communication

Please submit Github issues for communication any issues.You can ask Podman related questions on#podman channel of Ansible Podman questionson#ansible-podman channel on Freenode IRC.

License

GPL-3.0-or-later

About

Repository for Ansible content that can include playbooks, roles, modules, and plugins for use with the Podman tool

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp