Hi All ,
I need to execute same task parallelly of multiple hosts with different arguments based on host machine.
for example:
I want to install specific webservice service with id web1 , web2 web3 etc.
I have created a group called webserver and added 3 hosts ( number if host is not fixed ) and I want to install webservices on these servers.
in my play book.
host : webserver
task
role ;
{ webservice , ID = web1 } ID will be different for diffrent host ( ID=web1 for first host , ID = web2 for second host, ID = web3 for third host )
Can you please suggest a optimised way to implement this.