War Machine in an anti-war film, but most people who just like action shoot-em-up films don't even realize it, they just like seeing guys in uniform at war depicted on screen.
Well, it does star Brad Pitt soooooo.....
Most war films are "anti-war". However, some recognize the necessity of the action while others seem to think along the lines "Well, if we just surrender, everything will be okay".
"Platoon" and "Apocalypse Now", both among the top Vietnam films are decidedly anti-war. "Blackhawk Down" and "Saving Private Ryan", my top two favorite war movies, are also anti-war but both also recognize the need to fight bad guys.