ERROR: glance_image is not a legal parameter in an Ansible Playbook

I am very new to Ansible,I am just trying to add an image to openstack using Ansible,so created a yml file with below input.

  • glance_image: login_username=
    login_password=
    login_tenant_name=
    name=vivid
    container_format=bare
    disk_format=qcow2
    state=present
    copy_from=/tmp/vivid-server-cloudimg-amd64-disk1.img

I get the below error,

ERROR: glance_image is not a legal parameter in an Ansible Playbook

please see the log below:

2014-11-19 16:07:10,593 p=18154 u=root | /usr/bin/ansible-playbook glance_ply.yml
2014-11-19 16:07:10,593 p=18154 u=root |
2014-11-19 16:07:16,268 p=18154 u=root | ERROR: glance_image is not a legal parameter in an Ansible Playbook

Thanks in advance

Regards
Vijay