aboutsummaryrefslogtreecommitdiffstats
path: root/roles/acme/meta
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-14 15:56:48 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit5582074f59640eaad0b879c7c3b45bc3b0beefc8 (patch)
tree8100f01f64a4e762d96db2ff7b68c6585a6dbec8 /roles/acme/meta
parent28332d389dd3644aeb3973d4ca472820f6b45b07 (diff)
downloadrules-5582074f59640eaad0b879c7c3b45bc3b0beefc8.tar.gz
feat(roles/acme): add argument specs
Diffstat (limited to 'roles/acme/meta')
-rw-r--r--roles/acme/meta/main.yml53
1 files changed, 53 insertions, 0 deletions
diff --git a/roles/acme/meta/main.yml b/roles/acme/meta/main.yml
new file mode 100644
index 0000000..924fd90
--- /dev/null
+++ b/roles/acme/meta/main.yml
@@ -0,0 +1,53 @@
+---
+
+argument_specs:
+ main:
+ short_description: acme main entrypoint.
+ options:
+
+ acme_rules:
+ type: list
+ elements: dict
+ required: true
+ options:
+ domain:
+ type: str
+ required: true
+ description: Acme domain name
+
+ acme_authority:
+ type: dict
+ required: true
+ options:
+ name:
+ type: str
+ required: true
+ description: Acme authority name
+ url:
+ type: str
+ required: true
+ description: Acme authority api url
+ key:
+ type: path
+ required: true
+ description: Acme authority key file
+
+ acme_certificates_dir:
+ type: path
+ required: true
+ description: Acme certificates directory
+
+ acme_keys_dir:
+ type: path
+ required: true
+ description: Acme keys directory
+
+ acme_configuration_file:
+ type: path
+ required: true
+ description: Acme configuration file
+
+ relayd_connected_hosts:
+ type: str
+ required: true
+ description: Group name of hosts for generating certificates
remember that computers suck.