Jennifer Aniston to Play Prisoner in Next Flick

Jennifer Aniston is taking a break from romantic comedies and going to prison for her next flick instead.

The actress, 40, will star in Goree Girls, based on a true story about an all-female country band that played in a Texas prison in the 1940s, Variety reports.

See pics of Jen's on-set PDA.

She'll produce the movie, in which the eight women in the band become famous and are eventually pardoned, as well.

See which stars have dated rockers.

Aniston -- who often plays characters looking for love, as she does in her upcoming films The Baster and Love Happens -- also recently signed on to headline Pumas, which centers on two thirtysomething women who make a habit of romancing younger men.

See real-life Hollywood cougars.

She first mentioned the project in December's Vogue -- the same issue where she said comments Angelina Jolie made about her relationship with ex Brad Pitt were "uncool" -- describing it as a "female Wedding Crashers."