summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_ntp_global.py
diff options
context:
space:
mode:
authoromnom62 <omnom62@outlook.com>2026-06-04 06:34:07 +1000
committeromnom62 <omnom62@outlook.com>2026-06-04 06:34:07 +1000
commit1d563009815dbbf6eeeb368ef14edc6f5ce4a2a2 (patch)
tree8aa088069119b0ef0d30543379230f4584d2e0c4 /plugins/modules/vyos_ntp_global.py
parentba080f20749a7c79dc3033e5e022e3ccb00c65c5 (diff)
downloadrest.vyos-1d563009815dbbf6eeeb368ef14edc6f5ce4a2a2.tar.gz
rest.vyos-1d563009815dbbf6eeeb368ef14edc6f5ce4a2a2.zip
Sanity fixes
Diffstat (limited to 'plugins/modules/vyos_ntp_global.py')
-rw-r--r--plugins/modules/vyos_ntp_global.py16
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/modules/vyos_ntp_global.py b/plugins/modules/vyos_ntp_global.py
index 88073e1..dd5fe4e 100644
--- a/plugins/modules/vyos_ntp_global.py
+++ b/plugins/modules/vyos_ntp_global.py
@@ -1,5 +1,6 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
@@ -338,7 +339,20 @@ def main():
elements="dict",
options=dict(
server=dict(type="str", required=True),
- options=dict(type="list", elements="str"),
+ options=dict(
+ type="list",
+ elements="str",
+ choices=[
+ "dynamic",
+ "noselect",
+ "pool",
+ "preempt",
+ "prefer",
+ "nts",
+ "ptp",
+ "interleave",
+ ],
+ ),
),
),
),