aboutsummaryrefslogtreecommitdiffstats
path: root/roles/relayd/meta
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2023-01-13 00:15:52 +0100
committerRomain Gonçalves <me@rgoncalves.se>2023-04-02 11:45:09 +0200
commit28332d389dd3644aeb3973d4ca472820f6b45b07 (patch)
treec458ec9899a90942e726ed92f2c1a49e99d1f805 /roles/relayd/meta
parent1ff0fc1803fc71d925a0f2d0cf9c27058914044a (diff)
downloadrules-28332d389dd3644aeb3973d4ca472820f6b45b07.tar.gz
feat(roles/relayd): add argument specs
Diffstat (limited to 'roles/relayd/meta')
-rw-r--r--roles/relayd/meta/main.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/roles/relayd/meta/main.yml b/roles/relayd/meta/main.yml
new file mode 100644
index 0000000..e2da9c2
--- /dev/null
+++ b/roles/relayd/meta/main.yml
@@ -0,0 +1,45 @@
+---
+
+argument_specs:
+ main:
+ short_description: relayd main entrypoint.
+ options:
+
+ relayd_rules:
+ type: list
+ elements: dict
+ required: true
+ options:
+ domain:
+ type: str
+ required: true
+ description: Domain name
+ name:
+ type: str
+ required: true
+ description: Rule name
+ port:
+ type: int
+ required: true
+ description: Port to be configured
+
+ relayd_configuration_file:
+ type: path
+ required: true
+ description: Relayd configuration file
+
+ relayd_domain_name:
+ type: str
+ required: true
+ description: Relayd domain name
+
+ relayd_connected_hosts:
+ type: str
+ required: true
+ description: Group name of hosts that are behind relayd
+
+ relayd_tls_ciphers:
+ type: list
+ elements: str
+ required: true
+ description: Relayd tls ciphers
remember that computers suck.