containers.podman.podman_containers (1.12.1) — module

Manage podman containers in a batch

| "added in version" 1.4.0 of containers.podman"

Authors: Sagi Shnaidman (@sshnaidm)

Install collection

Install with ansible-galaxy collection install containers.podman:==1.12.1


Add to requirements.yml

  collections:
    - name: containers.podman
      version: 1.12.1

Description

Manage groups of podman containers


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Run three containers at once
  podman_containers:
    containers:
      - name: alpine
        image: alpine
        command: sleep 1d
      - name: web
        image: nginx
      - name: test
        image: python:3.10-alpine
        command: python -V

Inputs

    
debug:
    default: false
    description:
    - Return additional information which can be helpful for investigations.
    type: bool

containers:
    description:
    - List of dictionaries with data for running containers for podman_container module.
    elements: dict
    required: true
    type: list