How to resolve include with_items deprecation warning without duplication

Hello,

I just updated to 1.4 and am trying to grok how to resolve the “include + with_items” deprecation warning without introducing several redundant with_items on each action. So far the only solution I’ve found is to put with_items on each action of the included script. I don’t want to do that! Any other suggestions?

My current (working) include looks like this:

https://gist.github.com/JeremyChase/7598637

You should loop inside the task file.

This has been covered about eleventy billion times on the mailing list in the past, but you may wish to learn about this where you have a double loop going on.

http://ansibleworks.com/docs/playbooks_loops.html#id10