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
igorc
2
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
Brian_Coca
(Brian Coca)
4
define the same host with diff inventory_hostnames, assigne the values
to the same host var.