ansible-collections/cisco.nxos

"distribute" option is missing for nxos_ntp_global module

srbharadwaj opened this issue · 1 comments

SUMMARY

MDS switches support "distribute" option for ntp, but the same is missing in the module nxos_ntp_global

ISSUE TYPE
  • Bug Report
COMPONENT NAME

nxos_ntp_global

ANSIBLE VERSION

latest

COLLECTION VERSION

latest

THINGS TO DO
  • Add an option called "distribute" , valid values are True and False, (no default values), if True is passed then ntp distribute command must be sent, if False is passed then no ntp distribute command must be sent.
  • While doing other configurations, we need to check if the switch has distribution enabled(show running-config | inc "ntp distribute"), if yes then ntp commit commands needs to be sent at the end to commit the configuration

The virtual Nexus 9000 appliances that we have access to currently do not support the distribute command, rendering us unable to get this implemented properly. Hence, we are open to PRs to get this sorted.

cc @mikewiebe @praveenramoorthy