diff --git a/lib/ansible/modules/cloud/amazon/ec2_tag.py b/lib/ansible/modules/cloud/amazon/ec2_tag.py index 64252ea277f..82e8ec3be21 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_tag.py +++ b/lib/ansible/modules/cloud/amazon/ec2_tag.py @@ -100,9 +100,8 @@ EXAMPLES = ''' tags: Name: dbserver Env: production - with_subelements: - - ec2_vol.results - - volumes + with_items: + - ec2_vol.volumes - name: Get EC2 facts action: ec2_facts