containers / containers.podman / 1.12.1 / module / podman_secret_info Gather info about podman secrets Authors: Sagi Shnaidman (@sshnaidm)containers.podman.podman_secret_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 secrets with podman inspect command.
- name: Gather info about all present secrets podman_secret_info:
- name: Gather info about specific secret podman_secret_info: name: specific_secret
name: description: - Name of the secret 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 showsecret: default: false description: - Show secret data value type: bool
secrets: description: Facts from all or specified secrets returned: always sample: - CreatedAt: '2024-01-28T20:32:08.31857841+02:00' ID: 06068c676e9a7f1c7dc0da8dd Spec: Driver: Name: file Options: path: /home/user/.local/share/containers/storage/secrets/filedriver Labels: {} Name: secret_name UpdatedAt: '2024-01-28T20:32:08.31857841+02:00' type: list