Yeah, I know they had an ambush position. But anyone not strictly suicidal would have subtly signalled for the ambush to start - and most certainly wouldn't pull a handgun and fire a single shot into a crowd of armed soldiers facing him. Way too risky. Well, at least that's my opinion.
That's the thing. Unless I missed something, they show him executing an elaborate plan where he picks up animal carcasses and stealthily lures zombies into their cell block.
Still, it's just a TV show - and the extreme focus on gore tells me I'm not really the target audience. I'm much more into psychological horror and less extreme scenarios. That whole Woodbury town is just another example of going too far with an idea. I mean, ok, we don't know what would happen under these conditions - but that felt like an episode from Star Trek more than anything.