diff options
author | GomathiselviS <gomathiselvi@gmail.com> | 2022-01-19 18:19:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 23:19:45 +0000 |
commit | a4fc3def45320e633a773f2efa453c78d3b4afca (patch) | |
tree | 641aa4561fdb891513979d7794db888685209178 /plugins/modules | |
parent | be096e94d2904dd5743abde26253b86fa79f26bb (diff) | |
download | vyos.vyos-a4fc3def45320e633a773f2efa453c78d3b4afca.tar.gz vyos.vyos-a4fc3def45320e633a773f2efa453c78d3b4afca.zip |
Enable configuring ntp server pool in ntp_global (#225)
Enable configuring ntp server pool in ntp_global
Signed-off-by: GomathiselviS gomathiselvi@gmail.com
SUMMARY
Fixes #221
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION
Reviewed-by: Shawn Wilsher <None>
Reviewed-by: None <None>
Diffstat (limited to 'plugins/modules')
-rw-r--r-- | plugins/modules/vyos_ntp_global.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/modules/vyos_ntp_global.py b/plugins/modules/vyos_ntp_global.py index 6686aa4..d06d878 100644 --- a/plugins/modules/vyos_ntp_global.py +++ b/plugins/modules/vyos_ntp_global.py @@ -51,6 +51,7 @@ DOCUMENTATION = """ choices: - noselect - dynamic + - pool - preempt - prefer running_config: @@ -627,7 +628,7 @@ EXAMPLES = """ # # Task # # ------------- -- name: Gather ntp config +- name: Render ntp config vyos.vyos.vyos_ntp_global: config: allow_clients: @@ -642,6 +643,7 @@ EXAMPLES = """ options: - noselect - prefer + - pool - server: time1.vyos.net - server: time2.vyos.net @@ -660,6 +662,7 @@ EXAMPLES = """ # "set system ntp server server7", # "set system ntp server server45 noselect", # "set system ntp server server45 prefer", +# "set system ntp server server45 pool", # "set system ntp server time1.vyos.net", # "set system ntp server time2.vyos.net", # "set system ntp server time3.vyos.net" |