aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/caddy_add/meta/argument_specs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/caddy_add/meta/argument_specs.yaml')
-rw-r--r--ansible/roles/caddy_add/meta/argument_specs.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/ansible/roles/caddy_add/meta/argument_specs.yaml b/ansible/roles/caddy_add/meta/argument_specs.yaml
new file mode 100644
index 0000000..3c40bd6
--- /dev/null
+++ b/ansible/roles/caddy_add/meta/argument_specs.yaml
@@ -0,0 +1,26 @@
+---
+
+argument_specs:
+ main:
+ short_description: Main entry point for the Caddy add role
+ description:
+ - This role updates our Caddy RProxy via it's API with a new route.
+ author:
+ - Kumar Damani
+ options:
+ caddy_add_hosts:
+ type: 'list'
+ elements: 'str'
+ required: true
+ description:
+ - The desired fqdn for the service to add.
+ caddy_add_upstream_host:
+ type: 'str'
+ required: true
+ description:
+ - The hostname of the host hosting this service.
+ caddy_add_upstream_port:
+ type: 'int'
+ required: true
+ description:
+ - The port of the service on the host.