Ok, I missed the 'testservers' group. 

I just tested on my local machine and the only way I can find to reference 
a var in the 'hosts:' setting is if you pass it in with --extra-vars.

So, I refer to my previous suggestion:

Try changing app_install_main.yml to

- name: install app and join systems to domain
  hosts: testservers
  become: yes



Or, passing -e '{"test":"testservers"}' when you run ansible.

-- 
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/9bc1ca4f-b883-4073-827f-1691504320f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to