I think Ryan pushed for a long term deal, thinking that he had earned it from his past. I dont think that he had any intention of winning a Super Bowl or lasting 5yrs.
Coasting is exactly what he did this year, and he brought his brother in to get him paid, too, if only for 1 yr.
Football is all he knows, and he knew well enough what he was doing.