Change with_items to with_flattened

This fixes issues with package lists on Ansible 1.8+