Receive the latest the-cove updates in your inbox

He's played a race car driver, a basketball player, an ice skater, an anchorman and one of Santa's elves.

But on Thursday, Will Ferrell was at MLB spring training in Arizona for the role of a lifetime: playing all nine baseball positions in one day. The comedian played for both the the Oakland A's and the San Francisco Giants as part of the HBO special "Funny Or Die."

Ferrell is dedicating the project to fighting cancer, According to HBO, The comedian is also honoring the historic feat by Bert Campaneris five decades ago by playing every position on the field, and maybe some off the field, for 10 different teams the same day, the Giants said.

“We are delighted to welcome Will to the team," Giants CEO Larry Baer said in a statement.

Will Ferrell Joins MLB for Spring Training

Your browser does not support iframes.

Telling everyone "I'm a five-tool guy,'' Ferrell was off on his barnstorming tour Thursday through five Arizona spring training games.

Wearing No. 19, first for Oakland and then for visiting Seattle, the star of "Anchorman, The Legend of Ron Burgundy,'' "Elf'' and many other movies played shortstop for the Athletics in the top of the first inning, then second base for the Mariners in the top of the second.