SCOTTSDALE, Ariz. — The Dodgers were on the brink of signing Zack Greinke to a five-year, $165 million contract to stay last offseason before the Diamondbacks’ 11th-hour bull rush.

Arizona bid six years at $206.5 million, the Dodgers refused to approach that, and Greinke exited.

This offseason the Dodgers’ priority again is retention, and Rich Hill, Kenley Jansen and Justin Turner should cost roughly $165 million in aggregate. Will teams bid those players much higher than, say, two years at $30 million for Hill, four years at $60 million for Turner and four years at $75 million for Jansen, forcing Los Angeles again to decide whether to be disciplined and let their main targets go elsewhere?

“[Greinke’s near signing/departure is] a reminder to us that as we operate, there are a lot of dynamics that are out of our hands,” Dodgers general manager Farhan Zaidi said. “So you better have a Plan A, but also a Plan B and C.”

Dodgers closer Kenley JansenGetty Images

The Plan B at closer — and possibly the Plan A — is Aroldis Chapman over Jansen. The Dodgers had a trade in place for Chapman last winter before backing out when his domestic abuse incident came to their attention. They have officials who see him as the better long-term bet over Jansen.

In addition, there is belief draft-pick compensation from the qualifying offer will go away in a new collective bargaining agreement, so this might be the final time to accumulate extra high picks, and if the Dodgers were to sign Chapman and let Jansen walk, they would get a pick between the first and second rounds next June because they qualified Jansen. Plus, it is a small item, but NL West teams such as the Giants and Rockies currently have a good deal of lefty power, which might set up better for the southpaw Chapman.

The Dodgers value Turner not just as a player, but a leader, and there are not a ton of third-base alternatives. But they do worry about length of contract (Turner has had micro-fracture knee surgery and turns 32 later this month). Hill turns 37 in March and has had many physical issues, including blisters this year, which is a recurring worry because of the friction necessary to throw his valuable curveball. Nevertheless, starting pitching in free agency is so thin that executives would not be surprised if he got a three-year contract.