GithubHelp home page GithubHelp logo

doytsujin / ansible-podman-collections Goto Github PK

View Code? Open in Web Editor NEW

This project forked from containers/ansible-podman-collections

0.0 1.0 0.0 724 KB

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

License: GNU General Public License v3.0

Python 97.14% Shell 2.42% Dockerfile 0.14% Makefile 0.30%

ansible-podman-collections's Introduction

GitHub Actions CI/CD build status โ€” Collection test suite

Ansible Collection: containers.podman

This repo hosts the containers.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 on Ansible 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 docs site: 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 the ansible-galaxy CLI:

ansible-galaxy collection install containers.podman

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

collections:
- name: containers.podman

or clone by your own:

mkdir -p ~/.ansible/collections/ansible_collections/containers
git 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 collection
  hosts: localhost
  tasks:
    - name: Run redis container
      containers.podman.podman_container:
        name: myredis
        image: redis
        command: redis-server --appendonly yes
        state: present
        recreate: yes
        expose:
          - 6379
        volumes_from:
          - mydata

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

---
- name: Using Podman collection
  hosts: localhost
  collections:
    - containers.podman
  tasks:
    - name: Build and push an image using existing credentials
      podman_image:
        name: nginx
        path: /path/to/build/dir
        push: yes
        push_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 already here, the easiest way to work on the collection is to clone it into one of the configured COLLECTIONS_PATHS, and work on it there.

Testing with ansible-test

We use ansible-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 questions on #ansible-podman channel on Freenode IRC.

License

GPL-3.0-or-later

ansible-podman-collections's People

Contributors

akasurde avatar amenzhinsky avatar andreasgerstmayr avatar cfelder avatar clelange avatar eliasnorrby avatar ericzolf avatar holgerhees avatar jensheinrich avatar jthiatt avatar jtriley avatar ktdreyer avatar larsks avatar mskarbek avatar raoul555 avatar rhatdan avatar riyad avatar ruatag avatar ssbarnea avatar sshnaidm avatar tomsweeneyredhat avatar yigitpolat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.