I'll be the contrarian here.
What I heard is one organization where technology is a necessary evil. While it's quite comfortable, you're not really going to grow and expand much in your career and you're certainly not on the critical path, helping make decisions that affect the organization. Instead, what you've done is what you're likely to do until they find some way to automate you out of the position. You're not really positioning yourself well if you need to shift to another company when that automation hits.
This is opposed to an organization that is focused on technology, where you'll have to grow, expand, and learn constantly. You're very likely to be making decisions that affect the organization and it's bottom line. You'll be working with lots of fast moving code, because agile, small, frequent, well-tested, deployments, is all about speed. You're going to expand your skill set, your experiences, and position yourself well for the next job (if any).
The second job sounds better to me. I'd say that especially since, at 37, you've still got a very long career ahead of you. Sitting in the comfy spot at this point in your career, might be a very bad choice. At age 56, I'm leaning more towards staying comfy, but I may only have another 10 years of work in front of me (or 20, or so... we'll see what my wife lets me do and how long I live). You've got 30 (or more).