Adding not_if to config templates