community.proxmox.proxmox_acme_certificates_info module – Retrieves the list of certificates on a Proxmox VE node.
Note
This module is part of the community.proxmox collection (version 2.0.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 community.proxmox.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: community.proxmox.proxmox_acme_certificates_info.
New in community.proxmox 2.0.0
Synopsis
Retrieves the list of certificates on a Proxmox VE node.
Also returns the ACME configuration (account and domains) from the node config.
Requirements
The below requirements are needed on the host that executes this module.
proxmoxer >= 2.3
requests
Parameters
Parameter |
Comments |
|---|---|
Specify the target host of the Proxmox VE cluster. Uses the |
|
Specify the OTP. Uses the |
|
Specify the password to authenticate with. Uses the |
|
Specify the target port of the Proxmox VE cluster. Uses the |
|
Time limit for requests towards the Proxmox VE API. Default: |
|
Specify the token ID. Uses the |
|
Specify the token secret. Uses the |
|
Specify the user to authenticate with. Uses the |
|
Path to a local certificate, which will be used to verify TLS connections. Ignored if |
|
The name of the Proxmox VE node to list certificates for. |
|
Validate the TLS certificates used for the connection to the Proxmox VE API. May be set through the environment variable Choices:
|
Attributes
Attribute |
Support |
Description |
|---|---|---|
Action group: community.proxmox.proxmox |
Use |
|
Support: full This action does not modify state. |
Can run in |
|
Support: N/A This action does not modify state. |
Will return details on what has changed (or possibly needs changing in |
See Also
See also
- community.proxmox.proxmox_acme_certificate
Manages ACME SSL certificates for Proxmox VE nodes.
- Authentication
Complete guide for the Proxmox API authentication
Examples
- name: List certificates
community.proxmox.proxmox_acme_certificates_info:
node_name: pve-node-01
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
The ACME account name configured on the node. Returned: on success |
|
List of certificates on the node. Returned: on success |
|
The PEM-encoded certificate data. Returned: success |
|
The certificate fingerprint. Returned: success |
|
The certificate issuer. Returned: success |
|
The certificate expiration timestamp. Returned: success |
|
The certificate start timestamp. Returned: success |
|
The certificate subject. Returned: success |
|
The certificate subject alternative names (SANs). Returned: success |
|
The list of ACME domains configured on the node. Returned: on success |
|
The alias domain used for DNS validation. Returned: success |
|
The domain name. Returned: success |
|
The DNS plugin used for validation. Returned: success |