containers.podman.podman_secret_info module – Gather info about podman secrets
Note
This module is part of the containers.podman collection (version 1.16.2).
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
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: containers.podman.podman_secret_info
.
Synopsis
Gather info about podman secrets with podman inspect command.
Requirements
The below requirements are needed on the host that executes this module.
Podman installed on host
Parameters
Parameter |
Comments |
---|---|
Path to Default: |
|
Name of the secret |
|
Show secret data value Choices:
|
Examples
- name: Gather info about all present secrets
podman_secret_info:
- name: Gather info about specific secret
podman_secret_info:
name: specific_secret
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
---|---|
Facts from all or specified secrets Returned: always Sample: |