diff options
| author | omnom62 <omnom62@outlook.com> | 2026-06-04 06:34:07 +1000 |
|---|---|---|
| committer | omnom62 <omnom62@outlook.com> | 2026-06-04 06:34:07 +1000 |
| commit | 1d563009815dbbf6eeeb368ef14edc6f5ce4a2a2 (patch) | |
| tree | 8aa088069119b0ef0d30543379230f4584d2e0c4 /plugins/modules/vyos_ntp_global.py | |
| parent | ba080f20749a7c79dc3033e5e022e3ccb00c65c5 (diff) | |
| download | rest.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.py | 16 |
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", + ], + ), ), ), ), |
