Running parallely a playbook on the same host but with different values of the same extra var

Hi

I would like if there is a way to run parallely the same playbook on the same host but different values for the same extra var ?

some like

playbook -i inventory/myhost playbook/test.yml --extra-vars “var=value1 var=value2”

many thanks

Regards

Roger SImon

You mean like:

for i in value1 value2; do playbook -i inventory/myhost playbook/test.yml --extra-vars "var=$i" &; done

yes but is it possible to do it within a playbook

define the same host with diff inventory_hostnames, assigne the values
to the same host var.

many thanks
it work fine