[Backport/2.9/61654]Update ce_ntp to fix bugs (#62656)

* Update ce_ntp modified information

* Update ce_ntp to fix bugs

(cherry picked from commit afea7cc454)
pull/64281/head
yanzhangi 5 years ago committed by Toshio Kuratomi
parent d869985a4c
commit 254d2552f5

@ -0,0 +1,2 @@
bugfixes:
- ce_ntp - update to fix some bugs - Add some update statements. (https://github.com/ansible/ansible/pull/61654)

@ -574,7 +574,8 @@ class Ntp(object):
cli_str = "%s %s" % (
"undo ntp unicast-peer ipv6", self.address)
if (self.vpn_name) and (self.vpn_name != '_public_'):
cli_str = "%s %s" % (cli_str, self.vpn_name)
cli_str = "%s %s %s" % (
cli_str, "vpn-instance", self.vpn_name)
self.updates_cmd.append(cli_str)

Loading…
Cancel
Save