Hi,
I have the following requirement for deploying a java web application on multiple hosts:
- Copy the deployed artifact (war file) in parallel to the relevant hosts to a temp folder
- Deploy the app (stop tomcat, delete old app, copy new war from temp folder, start tomcat) one host at a time with a prompt between each host in order to verify that the deployment is successful
Can this be achieved in a single playbook (part of it is parallel and part is serial:1 with a prompt) or 2 playbooks are required? (one for parallel copy and one for serial deployment with prompt)
Thanks,
Moti.