cloudera.exe.caddy role – Install Caddy proxy packages.

Note

This role is part of the cloudera.exe collection (version 3.0.0).

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 cloudera.exe..

To use it in a playbook, specify: cloudera.exe.caddy.

Entry point main – Install Caddy proxy packages.

New in cloudera.exe 3.0.0

Synopsis

  • Install Caddy proxy service using self-signed TLS.

  • Configure an initial global configuration with an import directory.

  • Configure a WWW root directory.

  • Optionally, provision the Caddy with external CA certificates.

  • If Caddy self-signing is enabled and an external CA certificate is not defined, retrieve the Caddy self-signed CA certificate to the target host.

Parameters

Parameter

Comments

caddy_ca_key

path

External CA key for the Caddy TLS service.

Required if caddy_ca_pem is defined.

caddy_ca_pem

path

External CA for the Caddy TLS service.

caddy_domain

string / required

Domain name for the Caddy reverse proxy.

caddy_self_signed

boolean

Flag enabling Caddy to issue self-signed TLS certificates.

If not defined, Caddy will default to the Let’s Encrypt ACME service.

If defined and caddy_ca_pem is not defined, Caddy will generate a root CA certificate for self-signed TLS.

Choices:

  • false

  • true ← (default)

caddy_www_root

path

Directory of the static WWW service.

Default: "/var/www_root"

Authors

  • Cloudera Labs