Hi all,
I’m trying to use one role for two different hosts, each one using different playbooks.
The behaviour I’m expecting is if I have n-deploy-web hosts they should get trackX.war copied in /var/lib/tomcat6/webapps, but if it’s n-deploy-dcs hosts they should get mdrcX.war,mdlsX.war,ctracfreeX.war
At first, running the playbook I get sintax error due to the braces… but removing them I get /path/to/deploy_files.war doesn’t exists.
If there’s a way to get this running… link to the docs, examples or whatever that could help me… I will appreciate it.
$cat hosts
[deploy-web]
192.168.5.215
[deploy-web:vars]
service=livetrack
service_num=1
deploy_files=track
[deploy-dcs]
192.168.5.215
[deploy-dcs:vars]
service=livetrack
service_num=1
deploy_files=[mdrc,mdls,ctracfree]
$cat deploy.yml