One playbook on 10 hosts with two different parameters.
What are the two parameters?
if its just general data you can use some tasks to create the variable on the machine such as below with the set fact to make a variable with the contents of a password
you could have some tasks within the playbook to in this case set a password
name: Setup password
set_fact: root_db_server_pwd={{lookup('password', '/dev/null chars=ascii_letters,digits,hexdigits length=10')}}
You could also run some commands and register the output of those commands to be used later.
Could you be a little more specific on what you are trying to accomplish?