<P> McMahon's Entourage </P> <Ul> <Li> Brad Pitt as General Glen McMahon, a character based on General Stanley McChrystal . He is portrayed as an accomplished general with degrees from West Point and Yale brought in to bring a resolution to the conflict in Afghanistan . </Li> <Li> Anthony Hayes as Lieutenant Commander Pete Duckman, a Navy SEAL and member of McMahon's staff, possibly based on Navy SEAL David Silverman . </Li> <Li> Emory Cohen as Sgt . Willy Dunne, General McMahon's body man . </Li> <Li> RJ Cyler as USAF Tech Sgt . Andy Moon, information technology support assistant . </Li> <Li> Daniel Betts as USN Rear Admiral Simon Ball, McMahon's Senior Public Affairs Officer . </Li> <Li> Topher Grace as Matt Little, a former lobbyist turned McMahon's civilian media adviser . </Li> <Li> Anthony Michael Hall as Major General Greg Pulver, ISAF Director of Intelligence, loosely based on Lt. General Michael Flynn . </Li> <Li> John Magaro as Colonel Cory Staggart, an Army Ranger and General McMahon's executive officer . </Li> <Li> Aymen Hamdouchi as Captain Badi Basim, a scholarly Afghan National Army officer who becomes General McMahon's aide - de-camp . </Li> <Li> Scoot McNairy as Sean Cullen, a cynical journalist for Rolling Stone who accompanies McMahon and his staff and acts as narrator throughout the film, loosely based on author Michael Hastings . </Li> <Li> Meg Tilly as Jeanie McMahon, McMahon's wife . </Li> </Ul> <Li> Brad Pitt as General Glen McMahon, a character based on General Stanley McChrystal . He is portrayed as an accomplished general with degrees from West Point and Yale brought in to bring a resolution to the conflict in Afghanistan . </Li> <Li> Anthony Hayes as Lieutenant Commander Pete Duckman, a Navy SEAL and member of McMahon's staff, possibly based on Navy SEAL David Silverman . </Li>

Who is brad pitt's character based on in war machine
find me the text answering this question