community.proxmox.proxmox_acme_plugin_dns module – Manage ACME DNS plugins on a Proxmox VE.
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_plugin_dns.
New in community.proxmox 2.0.0
Synopsis
Create, update or delete a DNS challenge ACME plugin configuration.
Requires
root@pamauthentication.
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 |
|
DNS plugin settings as string key/value pairs. |
|
Disable this plugin configuration. Choices:
|
|
The ACME plugin instance identifier. |
|
DNS API implementation name (for example |
|
Desired state of the ACME DNS plugin. Choices:
|
|
Validate the TLS certificates used for the connection to the Proxmox VE API. May be set through the environment variable Choices:
|
|
Extra delay in seconds to wait before requesting validation. Allows to cope with a long TTL of DNS records (0 - 172800). Default: |
Attributes
Attribute |
Support |
Description |
|---|---|---|
Action group: community.proxmox.proxmox |
Use |
|
Support: full |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
See Also
See also
- ACME DNS API Challenge Plugin
ACME DNS API Challenge Plugin (Proxmox documentation)
- Authentication
Complete guide for the Proxmox API authentication
Examples
- name: Configure ACME Plugin DNS (Cloudflare)
community.proxmox.proxmox_acme_plugin_dns:
name: cloudflare
plugin: cf
data:
CF_Account_ID: example
CF_Token: example
- name: Remove ACME DNS plugin
community.proxmox.proxmox_acme_plugin_dns:
name: cloudflare
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
DNS plugin settings as string key/value pairs (value are masked). Returned: on success when |
|
Digest of the plugin configuration. Returned: on success when |
|
Whether the plugin configuration is disabled. Returned: on success when |
|
Short description of the action taken. Returned: always |
|
ACME plugin instance identifier. Returned: on success |
|
DNS API implementation name. Returned: on success when |
|
Validation delay in seconds. Returned: on success when |