Only expand lists in templating inside of module action lines, to avoid breaking usage with with_items and "in" statements, etc