From 5a46221f1973c8784f800636beab59221b00c588 Mon Sep 17 00:00:00 2001 From: damex Date: Mon, 22 Apr 2024 11:15:52 +0700 Subject: [PATCH] NOTASK: validate systemd-resolved role input --- .../systemd_resolved/meta/argument_specs.yml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 roles/systemd_resolved/meta/argument_specs.yml diff --git a/roles/systemd_resolved/meta/argument_specs.yml b/roles/systemd_resolved/meta/argument_specs.yml new file mode 100644 index 0000000..5d57d8c --- /dev/null +++ b/roles/systemd_resolved/meta/argument_specs.yml @@ -0,0 +1,53 @@ +--- +argument_specs: + main: + options: + systemd_resolved_service_name: + required: true + type: str + systemd_resolved_configuration_file: + required: true + type: str + systemd_resolved_dns: + type: list + elements: str + systemd_resolved_fallbackdns: + type: list + elements: str + systemd_resolved_llmnr: + type: str + choices: + - false + - true + - resolve + systemd_resolved_multicastdns: + type: str + choices: + - false + - true + - resolve + systemd_resolved_dnssec: + type: str + choices: + - false + - true + - allow-downgrade + systemd_resolved_dnsovertls: + type: str + choices: + - false + - true + - opportunistic + systemd_resolved_cache: + type: str + choices: + - false + - true + - no-negative + systemd_resolved_dnsstublistener: + type: str + choices: + - tcp + - udp + systemd_resolved_readetchosts: + type: bool