The Pentagon is repositioning warships and planes in the waters off Libya to be ready to enforce a no-fly zone or deliver humanitarian aid, military officials said Monday.

By shifting Naval and air forces in the Mediterranean, the U.S. is preparing the groundwork for possible intervention in the civil war that has engulfed Libya. In recent days, U.S. military leaders have been planning for a range of options, in the event the White House steps up the U.S. response.

"I...