def METHOD_NAME():
    """
    Updates NTP server on all compute nodes
    """
    if config.ENV_DATA["deployment_type"] == "upi":
        compute_nodes = get_node_ips_from_module(constants.COMPUTE_MODULE)
    else:
        compute_nodes = get_node_ips()
    for compute in compute_nodes:
        update_ntp_and_restart_chrony(compute)