From 5582074f59640eaad0b879c7c3b45bc3b0beefc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 14 Jan 2023 15:56:48 +0100 Subject: feat(roles/acme): add argument specs --- roles/acme/meta/main.yml | 53 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 roles/acme/meta/main.yml (limited to 'roles/acme/meta') 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 -- cgit v1.2.3