From a4bc7165b2c6ac783edb8cba9f964a04f2b6cafd Mon Sep 17 00:00:00 2001 From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de> Date: Tue, 20 May 2025 13:05:49 +0200 Subject: [PATCH] WIP: caddy argument_specs --- caddy/meta/argument_specs.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 caddy/meta/argument_specs.yml diff --git a/caddy/meta/argument_specs.yml b/caddy/meta/argument_specs.yml new file mode 100644 index 0000000..38e7a7a --- /dev/null +++ b/caddy/meta/argument_specs.yml @@ -0,0 +1,30 @@ +--- + +argument_specs: + main: + short_description: Install and configure Caddy web server + description: + - >- + This is the main entry point for this role. It is a prerequisite of the + C(caddy) entry point. + - The C(main) entry point is designed to be used in a playbook. + options: + caddy_global: + type: dict + required: false + description: + - Global caddy options. Maps directly to Caddyfile. + - >- + See L(upstream + documentation,https://caddyserver.com/docs/caddyfile/options) for + details. + - | + Example:: + + caddy_global: + auto_https: false + email: acme@example.org + on_demand_tls: + ask: http://localhost:9123/ask + debug: "" # Special value-less option, use with empty string + http_port: null # Omit, useful to override in more specific variables -- GitLab