Hi,

I have a playbook which deploys a new .war file for a tomcat instance. 
Since there are 6 hosts in a loadbalanced setup I have configured to run 
the playbook on 1 host at a time.
However, I want to do a 'pre flight check' on all hosts if the directory 
where the .war file is placed even exists, to make sure the playbook won't 
break in the middle of a deployment.

Is there a way to execute tasks on all hosts before running serial=1 and 
thus doing the actual deployment?




-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/7e07dffb-6575-45d4-83fd-9b353e669feb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to