Thanks this works. It would be very useful if the module would work like ios_system. If there is another DNS server in the switch config, ios_system removes it and makes sure only the server listed in the playbook remain. Where's the best place to put feature request?
On Thursday, December 19, 2019 at 4:59:02 PM UTC-5, Spiro Mitsialis wrote: > > Has anyone used ios_ntp for Cisco IOS devices? Its new as of Ansible > v2.8. It works fine for 1 NTP server but how do you add a 2nd server. > I've tried the following and neither works. The 2nd method works for DNS > with ios_system but I guess this module is different. Anybody have it > working with multiple servers? > > - ios_ntp: server: 10.0.255.10 server: 10.0.255.20 > > - ios_ntp: server: > - 10.0.255.10 > - 10.0.255.20 > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/9ae6a99d-0815-4264-bdc1-201c86934be7%40googlegroups.com.
