Ansible for Openstack

Hi Team,
Currently I am trying to provision Openstack resources using Ansible with sample template snippet as below:
os_server:
state: present
cloud: smscrhosp
name: test-instance
image: CentOS-7-x86_64-GenericCloud
key_name: mariachi-pub-key
timeout: 200
flavor: m1.small
network: test-network
auto_ip: yes
security_groups:\\\\

I want to know , if our topology needs 10 nodes , then do we need to write this os_server 10 times in Playbook
or is there any better way to achive same?

Rahul

Use a loop to repeat the task as many times as you need