Hello,
I am trying to make a playbook with the following inventory work: ###### hosts [applicationservers:children] dev1_appserver dev2_appserver [dev1_appserver] host1 [dev2_appserver] host1 [dev1_appserver:vars] appserver_name=dev1 appserver_home="somepath/dev1/..." appserver_port="9090" [dev2_appserver:vars] appserver_name=dev2 appserver_home="somepath/dev2/..." appserver_port="8080" ######################## They share the same host, it's not mistake. If I write a playbook like this: ###### playbook - hosts: applicationservers tasks: -name: deploy our application shell: doDeploy.sh {{ appserver_name }} {{ appserver_home }} {{ appserver_port }} ################################################ If I run this, the task "deploy our application" is only executed once. It looks like ansible's smallest unit is the host. But we have here up to 6 application servers per host and want to deploy them at once. How should the inventory look like? Thank you! -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8577e95b-e1e8-4560-a402-53e058eca709%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.