Hey all, 

I have two roles that are included in my site.yml and the goal is to 
execute the second role as soon as the first role completes.  I have added 
a task to generate a dynamic inventory in the first role that the second 
role can use.  I have a job Template in Ansible Tower and the first role 
executes cleanly but job Template completes without the second role 
executing.  

What am I missing?

- name: VMware-windows create role
  hosts: localhost           
  gather_facts: no
  roles:
  - vmware-windows

  vars_files:
    - ./roles/vmware-windows/vars/{{ vc_location }}.yml
    - ./roles/vmware-windows/vars/{{ network }}.yml

- name: Windows-post role
  hosts: windows
  gather_facts: no
  roles:
  - windows-post

Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/907f209c-2a3a-465e-95a3-ae82c8f27d0bn%40googlegroups.com.

Reply via email to