containers.podman.buildah (1.12.1) — connection

Interact with an existing buildah container

Authors: Tomas Tomecek (@TomasTomecek)

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

Run commands or put/fetch files to an existing container using buildah tool.

Inputs

    
remote_addr:
    default: inventory_hostname
    description:
    - The ID of the container you want to access.
    vars:
    - name: ansible_host
    - name: inventory_hostname

remote_user:
    description:
    - User specified via name or ID which is used to execute commands inside the container.
    env:
    - name: ANSIBLE_REMOTE_USER
    ini:
    - key: remote_user
      section: defaults
    vars:
    - name: ansible_user