I'm an infrastructure engineer (and love it), so I'd only consider joining in that role.
That said, I don't recommend a company whose product is something you're against. Yes, you're not directly working on it but I do enjoy my job a lot more knowing that I'm helping product developers build cool stuff. I think it'd be a lot harder to do that if I wasn't proud of what they were working on, by extension.