Can't execute 2 plays in a playbook in ansible-tower

Hi,

I have a playbook which contains 2 plays, one for installing a server (with static IP set) and another to install & configure DNS in this server.
For an example:
setupdns.yml

#play 1

# Installation of DNS VM
- hosts: host1
tasks:
- name: install DNS server
command: >

#play2
install and configure DNS

- hosts: dns_vm → this is the VM which was installed in the above mentioned play
tasks:
- name: configure DNS server

When I trigger a job for a template containing this playbook on ansible-tower, the tower executes the play 1 (installation of VM) and exits. It neither throws an error nor attempts to execute the following play.

Is there a setting in Ansible-tower that puts such a restriction.

Regards,
Nagaraj

For tower suport pleas go to https://access.redhat.com/support/