visudo requires the -f option to check any other file than the default. I've added this to the example ansible tasks.