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: >
<command to install a VM on ESX>
#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
<steps to install and configure DNS>
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