Interstate 5 was closed indefinitely and a shelter-in-place imposed after a gas line rupture north of Los Angeles.