containers.podman.buildah_containers inventory – Inventory plugin that discovers Buildah working containers as hosts
Note
This inventory plugin is part of the containers.podman collection (version 1.18.0).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install containers.podman
.
To use it in a playbook, specify: containers.podman.buildah_containers
.
New in containers.podman 1.18.0
Synopsis
Discover Buildah working containers on the local host and add them as inventory hosts.
Each discovered host is assigned the Buildah connection plugin so tasks execute inside the working container.
Parameters
Parameter |
Comments |
---|---|
Fully-qualified connection plugin to use for discovered hosts. Default: |
|
Path to the Default: Configuration:
|
|
Glob patterns to match working container names or IDs; empty means include all. Default: |
|
Token that ensures this is a source file for the ‘containers.podman.buildah_containers’ inventory plugin. Choices:
|
Examples
plugin: containers.podman.buildah_containers
connection_plugin: containers.podman.buildah
name_patterns:
- my-build-*