From 300583bd7286c39c818a81b86516f1b03bfda908 Mon Sep 17 00:00:00 2001 From: Roman Kuzmitskii Date: Mon, 22 Apr 2024 18:34:03 +0700 Subject: [PATCH] NOTASK: input validation for systemd_timesyncd (#30) --- .../systemd_timesyncd/meta/argument_specs.yml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 roles/systemd_timesyncd/meta/argument_specs.yml diff --git a/roles/systemd_timesyncd/meta/argument_specs.yml b/roles/systemd_timesyncd/meta/argument_specs.yml new file mode 100644 index 0000000..3d27d7f --- /dev/null +++ b/roles/systemd_timesyncd/meta/argument_specs.yml @@ -0,0 +1,32 @@ +--- +argument_specs: + main: + options: + systemd_timesyncd_service_name: + required: true + type: str + systemd_timesyncd_configuration_file: + required: true + type: str + systemd_timesyncd_ntp: + type: list + elements: str + systemd_timesyncd_fallbackntp: + type: list + elements: str + systemd_timesyncd_rootdistancemaxsec: + type: int + systemd_timesyncd_pollintervalminsec: + type: int + systemd_timesyncd_pollintervalmaxsec: + type: int + systemd_timesyncd_package_name: + required: true + type: str + systemd_timesyncd_package_version: + type: str + systemd_timesyncd_package_state: + type: str + choices: + - present + - absent