Question: Anthony Hayes stared in which 2017 American war film?

Context paragraphs:
A Message to Garcia (1936 film): A Message to Garcia is a 1936 American war film directed by George Marshall and starring Wallace Beery and Barbara Stanwyck, John Boles and Alan Hale, Sr..  The film is inspired by the 1899 essay "A Message to Garcia" by Elbert Hubbard, loosely based on an incident during the Spanish–American War.  The essay had previously been made into a 1916 silent film "A Message to Garcia".  Agent Rowan carries a message from President McKinley to General Garcia the leader of a rebellion against Spanish rule on the island of Cuba during the time of the Spanish–American War.

The Rover (2014 film): The Rover is a 2014 Australian dystopian drama film written and directed by David Michôd and based on a story by Michôd and Joel Edgerton.  It is a contemporary western taking place in the Australian outback, ten years after a global economic collapse.  The film features Guy Pearce, Robert Pattinson, and Scoot McNairy with Anthony Hayes, Gillian Jones, Susan Prior, Nash Edgerton, David Field and Tawanda Manyimo.  It premiered out of competition in the "Midnight Screenings" section at the 2014 Cannes Film Festival on 18 May 2014.

Ten Empty: The film was written by Anthony Hayes and Brendan Cowell, who were good friends.  Hayes said they were interested in exploring Australian masculinity:

Healing (film): Healing is a 2014 Australian drama film directed by Craig Monahan and co-written with Alison Nisselle.  The film stars Hugo Weaving, Robert Taylor, Xavier Samuel, Justine Clarke, Laura Brent and Anthony Hayes.

War Machine (film): War Machine is a 2017 American satirical war film directed and written by David Michôd, based on the nonfiction book "The Operators" by Michael Hastings.  It is a fictionalized version of the events in the book based on United States Army General Stanley McChrystal.

The Yellow Birds (film): The Yellow Birds is a 2017 American war film directed by Alexandre Moors and based on the novel "The Yellow Birds" by Kevin Powers.  The film stars Tye Sheridan, Jack Huston, Alden Ehrenreich, Jennifer Aniston, and Toni Collette.  It premiered at the 2017 Sundance Film Festival on January 21, 2017.

Prime Mover (film): Prime Mover is a 2009 Australian/British comedy-crime love story which stars Michael Dorman, Emily Barclay, Ben Mendelsohn, Gyton Grantley, William McInnes, Anthony Hayes and Andrew S. Gilbert.  It is directed by acclaimed film and television director David Caesar of "Mullet" and "Dirty Deeds" fame, in which he also worked with McInnes, Mendelsohn and Gilbert.

Suburban Mayhem: Suburban Mayhem is a 2006 Australian film directed by Paul Goldman, written by Alice Bell, produced by Leah Churchill-Brown and Executive Producer Jan Chapman.  It features an ensemble cast including Emily Barclay, Michael Dorman, Anthony Hayes, Robert Morgan and Genevieve Lemon.  It was filmed in Sydney and Newcastle, Australia.

Cargo (2017 film): Cargo is a 2017 Australian film written by Yolanda Ramke and directed by Ramke and Ben Howling.  The film stars Martin Freeman, Anthony Hayes, and Caren Pistorius.  Cargo is a remake of Ramke and Howling's 2013 short film of the same name.

Anthony Hayes (actor): 1977) is a multi-award winning Australian actor, best known for his roles in "War Machine", "The Light Between Oceans", "The Slap", "Look Both Ways", "The Boys", "Rabbit Proof Fence", "Animal Kingdom" and soap opera "Paradise Beach".

Supporting paragraphs: Anthony Hayes (actor) War Machine (film)
Answer: War Machine