2:45pm: The contract includes an opt-out five days prior to Opening Day, and the Major League side of the deal is worth $2.65MM, MLBTR has learned.

2:08pm: The Astros have signed righty Roberto Hernandez to a minor league deal with an invitation to Major League Spring Training, the team announced. Hernandez is represented by DPX Sports.

Hernandez, 34, posted a 4.10 ERA, 5.7 K/9, 4.0 BB/9, 1.04 HR/9, and 49.7% groundball rate for the Phillies and Dodgers last year. He had signed a $4.5MM free agent deal with the Phillies last offseason.

A legitimate chance to make the Astros’ rotation likely weighed in Hernandez’s decision. The agreement between the two sides comes after a one-year pact with Ryan Vogelsong fell through in January. Dallas Keuchel and Collin McHugh are locks for the Astros’ rotation after breakout 2014 seasons, and veteran Scott Feldman has a spot secured as well. According to an article from Evan Drellich of the Houston Chronicle from late January, Brett Oberholtzer is also penciled in. According to Drellich, new acquisition Dan Straily might be the favorite for the fifth spot, with Brad Peacock not expected to be ready for Opening Day after offseason hip surgery. Alex White, Asher Wojciechowski and Sam Deduno are other fifth starter candidates to watch, according to Drellich.