containers / containers.podman / 1.12.1 / module / podman_pod_info Gather info about podman pods | "added in version" 1.0.0 of containers.podman" Authors: Sagi Shnaidman (@sshnaidm)containers.podman.podman_pod_info (1.12.1) — module
Install with ansible-galaxy collection install containers.podman:==1.12.1
collections: - name: containers.podman version: 1.12.1
Gather info about podman pods with podman inspect command.
- name: Gather info about all present pods containers.podman.podman_pod_info:
- name: Gather info about specific pods containers.podman.podman_pod_info: name: special_pod
name: description: - Name of the pod type: str executable: default: podman description: - Path to C(podman) executable if it is not in the C($PATH) on the machine running C(podman) type: str
pods: description: Facts from all or specified pods returned: always sample: - Config: cgroupParent: /libpod_parent created: '2020-07-13T20:29:12.572282186+03:00' hostname: pod1host id: d9cb6dbb0.... infraConfig: infraPortBindings: - containerPort: 7111 hostIP: '' hostPort: 7777 protocol: tcp makeInfraContainer: true labels: {} lockID: 682 name: pod1 sharesCgroup: true sharesIpc: true sharesNet: true sharesUts: true Containers: - id: ad46737bf.... state: configured State: cgroupPath: /libpod_parent/d9cb6dbb0.... infraContainerID: ad46737bf.... status: Created type: list