Jailed for attempting to steal ambulance